commons-commits mailing list archives

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

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

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

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



Mime
View raw message