Gigantic warning cleanup

This commit is contained in:
CrushedPixel
2015-08-31 17:46:26 +02:00
parent dd1aab16ef
commit 03aead65b6
13 changed files with 31 additions and 20 deletions

View File

@@ -10,9 +10,6 @@ public class CustomObjectRepository {
public CustomObjectRepository() {
this.objects = new ArrayList<CustomImageObject>();
}
public CustomObjectRepository(List<CustomImageObject> objects) {
setObjects(objects);
}
public void setObjects(List<CustomImageObject> objects) {
this.objects = new ArrayList<CustomImageObject>(objects);

View File

@@ -28,6 +28,7 @@ public class ReplayImageAsset implements ReplayAsset<BufferedImage> {
private String name;
@Override
public ReplayImageAsset copy() {
ReplayImageAsset newReplay = new ReplayImageAsset(name);
newReplay.object = object;