Author: sebb
Date: Thu Mar 27 13:10:46 2014
New Revision: 1582288

URL: http://svn.apache.org/r1582288
Log:
Avoid variable hiding

Modified:
    
commons/proper/proxy/trunk/core/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java

Modified: 
commons/proper/proxy/trunk/core/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java
URL: 
http://svn.apache.org/viewvc/commons/proper/proxy/trunk/core/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java?rev=1582288&r1=1582287&r2=1582288&view=diff
==============================================================================
--- 
commons/proper/proxy/trunk/core/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java
 (original)
+++ 
commons/proper/proxy/trunk/core/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java
 Thu Mar 27 13:10:46 2014
@@ -77,9 +77,9 @@ public abstract class BaseAnnotationTrai
             @SuppressWarnings("unchecked")
             final Class<N> annotationType = (Class<N>) componentType;
             @SuppressWarnings("unchecked")
-            final BaseTrainer<?, R> annotationTypeTrainer = (BaseTrainer<?, 
R>) new AnnotationTypeTrainer<N>(
+            final BaseTrainer<?, R> trainer = (BaseTrainer<?, R>) new 
AnnotationTypeTrainer<N>(
                     annotationType);
-            this.annotationTypeTrainer = annotationTypeTrainer;
+            this.annotationTypeTrainer = trainer;
         }
 
         @Override


Reply via email to