commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r345656 - /jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/cglib/CglibProxyFactory.java
Date Sat, 19 Nov 2005 17:14:25 GMT
Author: jcarman
Date: Sat Nov 19 09:14:22 2005
New Revision: 345656

URL: http://svn.apache.org/viewcvs?rev=345656&view=rev
Log:
Reformatted code.

Modified:
    jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/cglib/CglibProxyFactory.java

Modified: jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/cglib/CglibProxyFactory.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/cglib/CglibProxyFactory.java?rev=345656&r1=345655&r2=345656&view=diff
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/cglib/CglibProxyFactory.java
(original)
+++ jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/cglib/CglibProxyFactory.java
Sat Nov 19 09:14:22 2005
@@ -43,6 +43,10 @@
  */
 public class CglibProxyFactory extends AbstractSubclassingProxyFactory
 {
+//----------------------------------------------------------------------------------------------------------------------
+// Fields
+//----------------------------------------------------------------------------------------------------------------------
+
     private static CallbackFilter callbackFilter = new PublicCallbackFilter();
 
 //----------------------------------------------------------------------------------------------------------------------
@@ -61,14 +65,6 @@
         return enhancer.create();
     }
 
-    private static class PublicCallbackFilter implements CallbackFilter
-    {
-        public int accept( Method method )
-        {
-            return Modifier.isPublic( method.getModifiers() ) ? 0 : 1;
-        }
-    }
-
     public Object createInterceptorProxy( ClassLoader classLoader, Object target, Interceptor
interceptor,
                                           Class[] proxyClasses )
     {
@@ -96,6 +92,14 @@
 //----------------------------------------------------------------------------------------------------------------------
 // Inner Classes
 //----------------------------------------------------------------------------------------------------------------------
+
+    private static class PublicCallbackFilter implements CallbackFilter
+    {
+        public int accept( Method method )
+        {
+            return Modifier.isPublic( method.getModifiers() ) ? 0 : 1;
+        }
+    }
 
     private class InvokerBridge implements net.sf.cglib.proxy.InvocationHandler
     {



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message