commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1519800 - in /commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub: BaseAnnotationTrainer.java BaseTrainer.java
Date Tue, 03 Sep 2013 19:13:54 GMT
Author: mbenson
Date: Tue Sep  3 19:13:54 2013
New Revision: 1519800

URL: http://svn.apache.org/r1519800
Log:
enable chaining

Modified:
    commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java
    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/BaseAnnotationTrainer.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java?rev=1519800&r1=1519799&r2=1519800&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java
(original)
+++ commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java
Tue Sep  3 19:13:54 2013
@@ -49,7 +49,7 @@ public abstract class BaseAnnotationTrai
     }
 
     @Override
-    protected <R> WhenAnnotation<R> when(R expression) {
+	public <R> WhenAnnotation<R> when(R expression) {
         return new WhenAnnotation<R>();
     }
 

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=1519800&r1=1519799&r2=1519800&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
Tue Sep  3 19:13:54 2013
@@ -111,57 +111,57 @@ public abstract class BaseTrainer<S exte
         return TrainingContext.getCurrent();
     }
 
-    protected <R> WhenObject<R> when(R expression)
+    public <R> WhenObject<R> when(R expression)
     {
         return new WhenObject<R>();
     }
 
-    protected WhenClass when(Class<?> expression)
+    public WhenClass when(Class<?> expression)
     {
         return new WhenClass();
     }
 
-    protected WhenByteArray when(byte[] expression)
+    public WhenByteArray when(byte[] expression)
     {
         return new WhenByteArray();
     }
 
-    protected WhenBooleanArray when(boolean[] expression)
+    public WhenBooleanArray when(boolean[] expression)
     {
         return new WhenBooleanArray();
     }
 
-    protected WhenIntArray when(int[] expression)
+    public WhenIntArray when(int[] expression)
     {
         return new WhenIntArray();
     }
 
-    protected WhenShortArray when(short[] expresssion)
+    public WhenShortArray when(short[] expresssion)
     {
         return new WhenShortArray();
     }
 
-    protected WhenLongArray when(long[] expression)
+    public WhenLongArray when(long[] expression)
     {
         return new WhenLongArray();
     }
 
-    protected WhenFloatArray when(float[] expression)
+    public WhenFloatArray when(float[] expression)
     {
         return new WhenFloatArray();
     }
 
-    protected WhenDoubleArray when(double[] expression)
+    public WhenDoubleArray when(double[] expression)
     {
         return new WhenDoubleArray();
     }
 
-    protected <R> WhenObjectArray<R> when(R[] expression)
+    public <R> WhenObjectArray<R> when(R[] expression)
     {
         return new WhenObjectArray<R>();
     }
 
-    protected WhenCharArray when(char[] expression)
+    public WhenCharArray when(char[] expression)
     {
         return new WhenCharArray();
     }



Mime
View raw message