commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1126055 - in /incubator/ognl/trunk/src/main/java/org/apache/commons/ognl: MethodAccessor.java ObjectMethodAccessor.java
Date Sun, 22 May 2011 16:36:59 GMT
Author: simonetripodi
Date: Sun May 22 16:36:59 2011
New Revision: 1126055

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

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

Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java?rev=1126055&r1=1126054&r2=1126055&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java Sun May
22 16:36:59 2011
@@ -40,7 +40,7 @@ public interface MethodAccessor
      * @return result of calling the method
      * @exception MethodFailedException if there is an error calling the method
      */
-    Object callStaticMethod( Map<String, Object> context, Class targetClass, String
methodName, Object[] args )
+    Object callStaticMethod( Map<String, Object> context, Class<?> targetClass,
String methodName, Object[] args )
         throws MethodFailedException;
 
     /**

Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectMethodAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectMethodAccessor.java?rev=1126055&r1=1126054&r2=1126055&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectMethodAccessor.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/ObjectMethodAccessor.java Sun
May 22 16:36:59 2011
@@ -33,8 +33,10 @@ public class ObjectMethodAccessor
     implements MethodAccessor
 {
 
-    /* MethodAccessor interface */
-    public Object callStaticMethod( Map<String, Object> context, Class targetClass,
String methodName, Object[] args )
+    /**
+     * {@inheritDoc}
+     */
+    public Object callStaticMethod( Map<String, Object> context, Class<?> targetClass,
String methodName, Object[] args )
         throws MethodFailedException
     {
         List methods = OgnlRuntime.getMethods( targetClass, methodName, true );
@@ -43,6 +45,9 @@ public class ObjectMethodAccessor
                                                   args );
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public Object callMethod( Map<String, Object> context, Object target, String methodName,
Object[] args )
         throws MethodFailedException
     {



Mime
View raw message