commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1432206 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
Date Fri, 11 Jan 2013 18:20:02 GMT
Author: ggregory
Date: Fri Jan 11 18:20:02 2013
New Revision: 1432206

URL: http://svn.apache.org/viewvc?rev=1432206&view=rev
Log:
comments local var can be final.

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java?rev=1432206&r1=1432205&r2=1432206&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
Fri Jan 11 18:20:02 2013
@@ -569,10 +569,7 @@ public class GifImageParser extends Imag
         final int height = id.imageWidth;
         final int width = id.imageHeight;
 
-        List<String> comments;
-
-        comments = getComments(blocks.blocks);
-
+        final List<String> comments = getComments(blocks.blocks);
         final int bitsPerPixel = (bhi.colorResolution + 1);
         final ImageFormat format = ImageFormat.IMAGE_FORMAT_GIF;
         final String formatName = "GIF Graphics Interchange Format";



Mime
View raw message