You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mc...@apache.org on 2011/10/27 07:59:21 UTC
svn commit: r1189614 - in
/commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/runtime:
CommonsRuntimeWrapper.java OldOgnlRuntimeWrapper.java
Author: mcucchiara
Date: Thu Oct 27 05:59:21 2011
New Revision: 1189614
URL: http://svn.apache.org/viewvc?rev=1189614&view=rev
Log:
Removed @Override annotations
Modified:
commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/runtime/CommonsRuntimeWrapper.java
commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/runtime/OldOgnlRuntimeWrapper.java
Modified: commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/runtime/CommonsRuntimeWrapper.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/runtime/CommonsRuntimeWrapper.java?rev=1189614&r1=1189613&r2=1189614&view=diff
==============================================================================
--- commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/runtime/CommonsRuntimeWrapper.java (original)
+++ commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/runtime/CommonsRuntimeWrapper.java Thu Oct 27 05:59:21 2011
@@ -22,7 +22,6 @@
package org.apache.commons.ognl.performance.runtime;
import org.apache.commons.ognl.OgnlRuntime;
-import org.apache.commons.ognl.internal.HashMapCacheFactory;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
@@ -36,77 +35,77 @@ public class CommonsRuntimeWrapper
implements RuntimeWrapper
{
- @Override
+
public void getFields( Class<?> c )
throws Exception
{
OgnlRuntime.getFields( c );
}
- @Override
+
public void findParameterTypes( Class<?> targetClass, Method method )
throws Exception
{
OgnlRuntime.findParameterTypes( targetClass, method );
}
- @Override
+
public void getConstructors( Class<?> c )
throws Exception
{
OgnlRuntime.getConstructors( c );
}
- @Override
+
public void getMethods( Class<?> c, boolean staticMethods )
throws Exception
{
OgnlRuntime.getMethods( c, staticMethods );
}
- @Override
+
public void getDeclaredMethods( Class<?> c, String propertyName, boolean setters )
throws Exception
{
OgnlRuntime.getDeclaredMethods( c, propertyName, setters );
}
- @Override
+
public void getParameterTypes( Method method )
throws Exception
{
OgnlRuntime.getParameterTypes( method );
}
- @Override
+
public void getParameterTypes( Constructor<?> constructor )
throws Exception
{
OgnlRuntime.getParameterTypes( constructor );
}
- @Override
+
public void getPermission( Method method )
throws Exception
{
OgnlRuntime.getPermission( method );
}
- @Override
+
public void getPrimitiveDefaultValue( Class<?> type )
throws Exception
{
OgnlRuntime.getPrimitiveDefaultValue( type );
}
- @Override
+
public void invokeMethod( Object o, Method method, Object[] args )
throws Exception
{
OgnlRuntime.invokeMethod( o, method, args );
}
- @Override
+
public void clearCache( )
{
OgnlRuntime.clearCache( );
Modified: commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/runtime/OldOgnlRuntimeWrapper.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/runtime/OldOgnlRuntimeWrapper.java?rev=1189614&r1=1189613&r2=1189614&view=diff
==============================================================================
--- commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/runtime/OldOgnlRuntimeWrapper.java (original)
+++ commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/runtime/OldOgnlRuntimeWrapper.java Thu Oct 27 05:59:21 2011
@@ -34,78 +34,79 @@ import java.lang.reflect.Method;
public class OldOgnlRuntimeWrapper
implements RuntimeWrapper
{
- @Override
+
public void getFields( Class<?> c )
throws Exception
{
OgnlRuntime.getFields( c );
}
- @Override
+
public void findParameterTypes( Class<?> targetClass, Method method )
throws Exception
{
OgnlRuntime.findParameterTypes( targetClass, method );
}
- @Override
+
public void getConstructors( Class<?> c )
throws Exception
{
OgnlRuntime.getConstructors( c );
}
- @Override
+
public void getMethods( Class<?> c, boolean staticMethods )
throws Exception
{
OgnlRuntime.getMethods( c, staticMethods );
}
- @Override
+
public void getDeclaredMethods( Class<?> c, String propertyName, boolean setters )
throws Exception
{
OgnlRuntime.getDeclaredMethods( c, propertyName, setters );
}
- @Override
+
public void getParameterTypes( Method method )
throws Exception
{
OgnlRuntime.getParameterTypes( method );
}
- @Override
+
public void getParameterTypes( Constructor<?> constructor )
throws Exception
{
OgnlRuntime.getParameterTypes( constructor );
}
- @Override
+
public void getPermission( Method method )
throws Exception
{
OgnlRuntime.getPermission( method );
}
- @Override
+
public void getPrimitiveDefaultValue( Class<?> type )
throws Exception
{
OgnlRuntime.getPrimitiveDefaultValue( type );
}
- @Override
+
public void invokeMethod( Object o, Method method, Object[] args )
throws Exception
{
OgnlRuntime.invokeMethod( o, method, args );
}
- @Override
+
public void clearCache( )
{
OgnlRuntime.clearCache( );
- }}
+ }
+}