From: David ‘Bombe’ Roden Date: Sun, 24 Feb 2013 15:56:58 +0000 (+0100) Subject: Declare list as final. X-Git-Tag: v2~322 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=9fdf431d20f01116a9df8d596bf1d917e3bbc386;p=rhynodge.git Declare list as final. --- diff --git a/src/main/java/net/pterodactylus/rhynodge/states/ComicState.java b/src/main/java/net/pterodactylus/rhynodge/states/ComicState.java index 6bfd06b..39d3d36 100644 --- a/src/main/java/net/pterodactylus/rhynodge/states/ComicState.java +++ b/src/main/java/net/pterodactylus/rhynodge/states/ComicState.java @@ -33,7 +33,7 @@ import com.google.common.collect.Lists; public class ComicState extends AbstractState implements Iterable { /** The comics in this state. */ - private List comics = Lists.newArrayList(); + private final List comics = Lists.newArrayList(); /** * Returns the list of comics contained in this state.