Return the list instead of calling the method again.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 24 Feb 2013 15:57:13 +0000 (16:57 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 24 Feb 2013 15:57:13 +0000 (16:57 +0100)
src/main/java/net/pterodactylus/rhynodge/states/ComicState.java

index 39d3d36..89f1cdc 100644 (file)
@@ -112,7 +112,7 @@ public class ComicState extends AbstractState implements Iterable<Comic> {
                 * @return The URLs of this comic’s images
                 */
                public List<String> imageUrls() {
-                       return imageUrls();
+                       return imageUrls;
                }
 
                /**