commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1535240 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfo.java
Date Thu, 24 Oct 2013 00:35:14 GMT
Author: ggregory
Date: Thu Oct 24 00:35:14 2013
New Revision: 1535240

URL: http://svn.apache.org/r1535240
Log:
Inline unused lvar.

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfo.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfo.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfo.java?rev=1535240&r1=1535239&r2=1535240&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfo.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfo.java
Thu Oct 24 00:35:14 2013
@@ -83,8 +83,7 @@ public abstract class TagInfo {
      * @throws ImageReadException thrown by subclasses
      */
     public Object getValue(final TiffField entry) throws ImageReadException {
-        final Object o = entry.getFieldType().getValue(entry);
-        return o;
+        return entry.getFieldType().getValue(entry);
     }
 
     public byte[] encodeValue(final FieldType fieldType, final Object value, final ByteOrder
byteOrder)



Mime
View raw message