commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1125935 - /incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorPropertyAccessor.java
Date Sun, 22 May 2011 12:16:46 GMT
Author: simonetripodi
Date: Sun May 22 12:16:46 2011
New Revision: 1125935

URL: http://svn.apache.org/viewvc?rev=1125935&view=rev
Log:
fixed Iterator raw type

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

Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorPropertyAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorPropertyAccessor.java?rev=1125935&r1=1125934&r2=1125935&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorPropertyAccessor.java
(original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/IteratorPropertyAccessor.java
Sun May 22 12:16:46 2011
@@ -37,7 +37,7 @@ public class IteratorPropertyAccessor
         throws OgnlException
     {
         Object result;
-        Iterator iterator = (Iterator) target;
+        Iterator<?> iterator = (Iterator<?>) target; // check performed by the
invoker
 
         if ( name instanceof String )
         {



Mime
View raw message