Skip to content

Commit

Permalink
Remove cloning the ImageRPC in the clone method for SdlArtwork (#1821)
Browse files Browse the repository at this point in the history
* Remove cloning the ImageRPC in the clone method for SdlArtwork

* Fix JavaSe artwork cloning method to match android

* Fix cloning sdlArtwork
  • Loading branch information
JulianKast authored Jul 18, 2022
1 parent e5d8537 commit ccf0af9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private Image createImageRPC() {
public SdlArtwork clone() {
SdlArtwork artwork = (SdlArtwork) super.clone();
if (artwork != null) {
artwork.imageRPC = artwork.createImageRPC();
artwork.imageRPC = null;
return artwork;
}
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private Image createImageRPC() {
public SdlArtwork clone() {
SdlArtwork artwork = (SdlArtwork) super.clone();
if (artwork != null) {
artwork.imageRPC = artwork.createImageRPC();
artwork.imageRPC = null;
return artwork;
}
return null;
Expand Down

0 comments on commit ccf0af9

Please sign in to comment.