Declare list as final.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 24 Feb 2013 15:56:58 +0000 (16:56 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 24 Feb 2013 15:56:58 +0000 (16:56 +0100)
src/main/java/net/pterodactylus/rhynodge/states/ComicState.java

index 6bfd06b..39d3d36 100644 (file)
@@ -33,7 +33,7 @@ import com.google.common.collect.Lists;
 public class ComicState extends AbstractState implements Iterable<Comic> {
 
        /** The comics in this state. */
-       private List<Comic> comics = Lists.newArrayList();
+       private final List<Comic> comics = Lists.newArrayList();
 
        /**
         * Returns the list of comics contained in this state.