commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1135557 - /commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/MeiyoVisitor.java
Date Tue, 14 Jun 2011 13:19:55 GMT
Author: simonetripodi
Date: Tue Jun 14 13:19:54 2011
New Revision: 1135557

URL: http://svn.apache.org/viewvc?rev=1135557&view=rev
Log:
dropped the abuse of 'this' keyword

Modified:
    commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/MeiyoVisitor.java

Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/MeiyoVisitor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/MeiyoVisitor.java?rev=1135557&r1=1135556&r2=1135557&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/MeiyoVisitor.java
(original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/MeiyoVisitor.java
Tue Jun 14 13:19:54 2011
@@ -74,12 +74,12 @@ public final class MeiyoVisitor
         }
 
         // TYPE
-        this.visitElements( type );
+        visitElements( type );
 
         if ( !type.isInterface() )
         {
             // CONSTRUCTOR
-            this.visitElements( new PrivilegedAction<Constructor<?>[]>()
+            visitElements( new PrivilegedAction<Constructor<?>[]>()
             {
                 public Constructor<?>[] run()
                 {
@@ -88,7 +88,7 @@ public final class MeiyoVisitor
             } );
 
             // FIELD
-            this.visitElements( new PrivilegedAction<Field[]>()
+            visitElements( new PrivilegedAction<Field[]>()
             {
                 public Field[] run()
                 {
@@ -98,7 +98,7 @@ public final class MeiyoVisitor
         }
 
         // METHOD
-        this.visitElements( new PrivilegedAction<Method[]>()
+        visitElements( new PrivilegedAction<Method[]>()
         {
             public Method[] run()
             {
@@ -106,7 +106,7 @@ public final class MeiyoVisitor
             }
         } );
 
-        this.visit( type.getSuperclass() );
+        visit( type.getSuperclass() );
     }
 
     private <AE extends AnnotatedElement> void visitElements( PrivilegedAction<AE[]>
action )
@@ -120,7 +120,7 @@ public final class MeiyoVisitor
         {
             annotatedElements = action.run();
         }
-        this.visitElements( annotatedElements );
+        visitElements( annotatedElements );
     }
 
     private void visitElements( AnnotatedElement... annotatedElements )
@@ -130,7 +130,7 @@ public final class MeiyoVisitor
             for ( Annotation annotation : element.getAnnotations() )
             {
                 AnnotationHandler<AnnotatedElement, Annotation> handler =
-                    this.binder.getHandler( element.getClass(), annotation.annotationType()
);
+                    binder.getHandler( element.getClass(), annotation.annotationType() );
 
                 if ( handler != null )
                 {



Mime
View raw message