Author: grobmeier Date: Fri Oct 14 07:14:33 2011 New Revision: 1183226 URL: http://svn.apache.org/viewvc?rev=1183226&view=rev Log: OGNL-21: removed deprecated method
Modified: commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlRuntime.java Modified: commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlRuntime.java URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlRuntime.java?rev=1183226&r1=1183225&r2=1183226&view=diff ============================================================================== --- commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlRuntime.java (original) +++ commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlRuntime.java Fri Oct 14 07:14:33 2011 @@ -1406,25 +1406,6 @@ public class OgnlRuntime * @param context The current execution context. * @param target The object to invoke the method on. * @param methodName Name of the method - as in "getValue" or "add", etc.. - * @param propertyName Name of the property to call instead? - * @param args Optional arguments needed for method. - * @return Result of invoking method. - * @deprecated Use {@link #callMethod(OgnlContext, Object, String, Object[])} instead. - * @throws OgnlException For lots of different reasons. - */ - public static Object callMethod( OgnlContext context, Object target, String methodName, String propertyName, - Object[] args ) - throws OgnlException - { - return callMethod( context, target, methodName == null ? propertyName : methodName, args ); - } - - /** - * Invokes the specified method against the target object. - * - * @param context The current execution context. - * @param target The object to invoke the method on. - * @param methodName Name of the method - as in "getValue" or "add", etc.. * @param args Optional arguments needed for method. * @return Result of invoking method. * @throws OgnlException For lots of different reasons.