commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1135594 - /commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinderImpl.java
Date Tue, 14 Jun 2011 14:18:18 GMT
Author: simonetripodi
Date: Tue Jun 14 14:18:18 2011
New Revision: 1135594

URL: http://svn.apache.org/viewvc?rev=1135594&view=rev
Log:
no needs to reference the registry via the whole path

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

Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinderImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinderImpl.java?rev=1135594&r1=1135593&r2=1135594&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinderImpl.java
(original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinderImpl.java
Tue Jun 14 14:18:18 2011
@@ -96,8 +96,8 @@ final class AnnotationHandlerBinderImpl
                             throw new IllegalArgumentException( "Parameter 'handler' must
not be null" );
                         }
 
-                        AnnotationHandlerBinderImpl.this.registry.put( new Key( annotatedElementType,
annotationType ),
-                                                                       (AnnotationHandler<AnnotatedElement,
Annotation>) handler );
+                        registry.put( new Key( annotatedElementType, annotationType ),
+                                      (AnnotationHandler<AnnotatedElement, Annotation>)
handler );
                     }
                 };
             }



Mime
View raw message