From: Kabir K. <ka...@us...> - 2004-07-17 13:34:13
|
User: kabkhan Date: 04/07/17 06:34:06 Modified: src/main/org/jboss/test/aop/basic ReflectionAspectTester.java Log: Reformatted dodgy indentation Revision Changes Path 1.2 +26 -26 jboss-aop/src/main/org/jboss/test/aop/basic/ReflectionAspectTester.java Index: ReflectionAspectTester.java =================================================================== RCS file: /cvsroot/jboss/jboss-aop/src/main/org/jboss/test/aop/basic/ReflectionAspectTester.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ReflectionAspectTester.java 24 May 2004 15:58:41 -0000 1.1 +++ ReflectionAspectTester.java 17 Jul 2004 13:34:06 -0000 1.2 @@ -20,30 +20,30 @@ */ public class ReflectionAspectTester extends ReflectionAspect { - - public static Constructor constructor; - public static Field field; - public static Object[] args; - public static Object retObj; + + public static Constructor constructor; + public static Field field; + public static Object[] args; + public static Object retObj; - public static void clear(){ - ReflectionAspectTester.constructor = null; - ReflectionAspectTester.field = null; - ReflectionAspectTester.args = null; - ReflectionAspectTester.retObj = null; - } + public static void clear(){ + ReflectionAspectTester.constructor = null; + ReflectionAspectTester.field = null; + ReflectionAspectTester.args = null; + ReflectionAspectTester.retObj = null; + } protected Object interceptConstructor( Invocation invocation, Constructor constructor, Object[] args) throws Throwable { - - clear(); - ReflectionAspectTester.constructor = constructor; - ReflectionAspectTester.args = args; - - ReflectionAspectTester.retObj = super.interceptConstructor(invocation, constructor, args); + + clear(); + ReflectionAspectTester.constructor = constructor; + ReflectionAspectTester.args = args; + + ReflectionAspectTester.retObj = super.interceptConstructor(invocation, constructor, args); return ReflectionAspectTester.retObj; } @@ -52,11 +52,11 @@ Field field, Object instance) throws Throwable { - - clear(); - ReflectionAspectTester.field = field; - ReflectionAspectTester.retObj = super.interceptFieldRead(invocation, field, instance); - return ReflectionAspectTester.retObj; + + clear(); + ReflectionAspectTester.field = field; + ReflectionAspectTester.retObj = super.interceptFieldRead(invocation, field, instance); + return ReflectionAspectTester.retObj; } protected Object interceptFieldWrite( @@ -66,10 +66,10 @@ Object arg) throws Throwable { - clear(); - ReflectionAspectTester.field = field; - ReflectionAspectTester.args = new Object[]{arg}; - ReflectionAspectTester.retObj = super.interceptFieldWrite(invocation, field, instance, arg); + clear(); + ReflectionAspectTester.field = field; + ReflectionAspectTester.args = new Object[]{arg}; + ReflectionAspectTester.retObj = super.interceptFieldWrite(invocation, field, instance, arg); return ReflectionAspectTester.retObj; } } |