commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1515506 - /commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/BaseTrainer.java
Date Mon, 19 Aug 2013 16:45:53 GMT
Author: mbenson
Date: Mon Aug 19 16:45:53 2013
New Revision: 1515506

URL: http://svn.apache.org/r1515506
Log:
WhenClass javadoc

Modified:
    commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/BaseTrainer.java

Modified: commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/BaseTrainer.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/BaseTrainer.java?rev=1515506&r1=1515505&r2=1515506&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/BaseTrainer.java
(original)
+++ commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/BaseTrainer.java
Mon Aug 19 16:45:53 2013
@@ -277,6 +277,11 @@ public abstract class BaseTrainer<S exte
         }
     }
 
+    /**
+     * Intermediate result of a when(Class) call.
+     * Provided because it is such a common case to have a mismatch between a
+     * declared Class<?> return type and the bound parameter of a class literal.
+     */
     protected class WhenClass extends BaseWhen<Class<?>>
     {
         protected S thenReturn(Class<?> value)



Mime
View raw message