commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1747608 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/icc/IccProfileParser.java
Date Thu, 09 Jun 2016 23:13:43 GMT
Author: ggregory
Date: Thu Jun  9 23:13:42 2016
New Revision: 1747608

URL: http://svn.apache.org/viewvc?rev=1747608&view=rev
Log:
This is not C.

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/icc/IccProfileParser.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/icc/IccProfileParser.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/icc/IccProfileParser.java?rev=1747608&r1=1747607&r2=1747608&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/icc/IccProfileParser.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/icc/IccProfileParser.java
Thu Jun  9 23:13:42 2016
@@ -66,10 +66,8 @@ public class IccProfileParser extends Bi
 
         try {
 
-            IccProfileInfo result;
             is = byteSource.getInputStream();
-
-            result = readICCProfileInfo(is);
+            IccProfileInfo result = readICCProfileInfo(is);
 
             if (result == null) {
                 return null;



Mime
View raw message