Author: sebb
Date: Fri Oct 18 17:40:28 2013
New Revision: 1533570

URL: http://svn.apache.org/r1533570
Log:
It's confusing to re-use field names locally
Document that the parameter is unused

Modified:
    
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/event/EventListenerSupport.java

Modified: 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/event/EventListenerSupport.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/event/EventListenerSupport.java?rev=1533570&r1=1533569&r2=1533570&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/event/EventListenerSupport.java
 (original)
+++ 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/event/EventListenerSupport.java
 Fri Oct 18 17:40:28 2013
@@ -299,8 +299,8 @@ public class EventListenerSupport<L> imp
          * Propagates the method call to all registered listeners in place of
          * the proxy listener object.
          *
-         * @param proxy the proxy object representing a listener on which the
-         *        invocation was called.
+         * @param unusedProxy the proxy object representing a listener on 
which the
+         *        invocation was called; not used
          * @param method the listener method that will be called on all of the
          *        listeners.
          * @param args event arguments to propagate to the listeners.
@@ -308,7 +308,7 @@ public class EventListenerSupport<L> imp
          * @throws Throwable if an error occurs
          */
         @Override
-        public Object invoke(final Object proxy, final Method method, final 
Object[] args) throws Throwable {
+        public Object invoke(final Object unusedProxy, final Method method, 
final Object[] args) throws Throwable {
             for (final L listener : listeners) {
                 method.invoke(listener, args);
             }


Reply via email to