commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1391253 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java
Date Thu, 27 Sep 2012 22:50:28 GMT
Author: sebb
Date: Thu Sep 27 22:50:28 2012
New Revision: 1391253

URL: http://svn.apache.org/viewvc?rev=1391253&view=rev
Log:
Unnecessary casts

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

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java?rev=1391253&r1=1391252&r2=1391253&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java (original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java Thu
Sep 27 22:50:28 2012
@@ -1484,7 +1484,7 @@ public abstract class Imaging implements
             params = new HashMap<String,Object>();
         }
 
-        params.put(PARAM_KEY_FORMAT, (Object)format);
+        params.put(PARAM_KEY_FORMAT, format);
 
         for (int i = 0; i < imageParsers.length; i++) {
             ImageParser imageParser = imageParsers[i];



Mime
View raw message