You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/05/22 14:16:11 UTC
svn commit: r1125934 -
/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EnumerationPropertyAccessor.java
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 )
{