commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1126182 - /incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IntHashMap.java
Date Sun, 22 May 2011 19:18:34 GMT
Author: simonetripodi
Date: Sun May 22 19:18:34 2011
New Revision: 1126182

URL: http://svn.apache.org/viewvc?rev=1126182&view=rev
Log:
suppressed unchecked warning, added reason

Modified:
    incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IntHashMap.java

Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IntHashMap.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IntHashMap.java?rev=1126182&r1=1126181&r2=1126182&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IntHashMap.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IntHashMap.java Sun May 22
19:18:34 2011
@@ -231,6 +231,7 @@ public class IntHashMap<K extends Number
         }
     }
 
+    @SuppressWarnings( "unchecked" ) // type checked in the array creation
     private Entry[] newEntryArray( int size )
     {
         return (Entry[]) Array.newInstance( Entry.class, size );



Mime
View raw message