commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r1349110 - in /commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub: AnnotationFactory.java StubInterceptor.java
Date Tue, 12 Jun 2012 03:29:02 GMT
Author: jcarman
Date: Tue Jun 12 03:29:02 2012
New Revision: 1349110

URL: http://svn.apache.org/viewvc?rev=1349110&view=rev
Log:
Making private static inner classes final.

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

Modified: commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java?rev=1349110&r1=1349109&r2=1349110&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java
(original)
+++ commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java
Tue Jun 12 03:29:02 2012
@@ -447,7 +447,7 @@ public class AnnotationFactory {
         }
     }
 
-    private static class AnnotationStubProxyFactory extends StubProxyFactory {
+    private static final class AnnotationStubProxyFactory extends StubProxyFactory {
 
         private AnnotationStubProxyFactory(ProxyFactory proxyFactory, StubConfigurer<Annotation>
sharedConfigurer) {
             super(proxyFactory, sharedConfigurer);

Modified: commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/StubInterceptor.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/StubInterceptor.java?rev=1349110&r1=1349109&r2=1349110&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/StubInterceptor.java
(original)
+++ commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/StubInterceptor.java
Tue Jun 12 03:29:02 2012
@@ -226,7 +226,7 @@ abstract class StubInterceptor implement
         return TypeUtils.isInstance(o, m.getReturnType());
     }
 
-    private static class RecordedInvocationMatcher implements InvocationMatcher {
+    private static final class RecordedInvocationMatcher implements InvocationMatcher {
 
         private final RecordedInvocation recordedInvocation;
 



Mime
View raw message