commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r1003219 - /commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/ico/IcoRoundtripTest.java
Date Thu, 30 Sep 2010 19:59:28 GMT
Author: niallp
Date: Thu Sep 30 19:59:27 2010
New Revision: 1003219

URL: http://svn.apache.org/viewvc?rev=1003219&view=rev
Log:
Restore JDK 1.4 compatibility (Integer.valueOf(int) requires JDK 1.5)

Modified:
    commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/ico/IcoRoundtripTest.java

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/ico/IcoRoundtripTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/ico/IcoRoundtripTest.java?rev=1003219&r1=1003218&r2=1003219&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/ico/IcoRoundtripTest.java
(original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/ico/IcoRoundtripTest.java
Thu Sep 30 19:59:27 2010
@@ -58,12 +58,12 @@ public class IcoRoundtripTest extends Ic
 
     public IcoRoundtripTest()
     {
-        generatorMap.put(Integer.valueOf(1), new GeneratorFor1BitBitmaps());
-        generatorMap.put(Integer.valueOf(4), new GeneratorFor4BitBitmaps());
-        generatorMap.put(Integer.valueOf(8), new GeneratorFor8BitBitmaps());
-        generatorMap.put(Integer.valueOf(16), new GeneratorFor16BitBitmaps());
-        generatorMap.put(Integer.valueOf(24), new GeneratorFor24BitBitmaps());
-        generatorMap.put(Integer.valueOf(32), new GeneratorFor32BitBitmaps());
+        generatorMap.put(new Integer(1), new GeneratorFor1BitBitmaps());
+        generatorMap.put(new Integer(4), new GeneratorFor4BitBitmaps());
+        generatorMap.put(new Integer(8), new GeneratorFor8BitBitmaps());
+        generatorMap.put(new Integer(16), new GeneratorFor16BitBitmaps());
+        generatorMap.put(new Integer(24), new GeneratorFor24BitBitmaps());
+        generatorMap.put(new Integer(32), new GeneratorFor32BitBitmaps());
     }
 
     private static interface BitmapGenerator



Mime
View raw message