commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1416998 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/dcx/DcxImageParser.java
Date Tue, 04 Dec 2012 15:37:37 GMT
Author: ggregory
Date: Tue Dec  4 15:37:36 2012
New Revision: 1416998

URL: http://svn.apache.org/viewvc?rev=1416998&view=rev
Log:
Remove unnecessary casts

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/dcx/DcxImageParser.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/dcx/DcxImageParser.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/dcx/DcxImageParser.java?rev=1416998&r1=1416997&r2=1416998&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/dcx/DcxImageParser.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/dcx/DcxImageParser.java
Tue Dec  4 15:37:36 2012
@@ -237,7 +237,7 @@ public class DcxImageParser extends Imag
                     throw new ImageWriteException(
                             "Invalid pixel density parameter");
                 }
-                pcxParams.put(PARAM_KEY_PIXEL_DENSITY, (PixelDensity) value);
+                pcxParams.put(PARAM_KEY_PIXEL_DENSITY, value);
             }
         }
 



Mime
View raw message