commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1538029 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeAscii.java
Date Fri, 01 Nov 2013 18:49:40 GMT
Author: ggregory
Date: Fri Nov  1 18:49:39 2013
New Revision: 1538029

URL: http://svn.apache.org/r1538029
Log:
Statement unnecessarily nested within else clause.

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeAscii.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeAscii.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeAscii.java?rev=1538029&r1=1538028&r2=1538029&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeAscii.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeAscii.java
Fri Nov  1 18:49:39 2013
@@ -67,9 +67,8 @@ public class FieldTypeAscii extends Fiel
         }
         if (strings.length == 1) {
             return strings[0];
-        } else {
-            return strings;
         }
+        return strings;
     }
 
     @Override



Mime
View raw message