openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1155314 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/NormalScopedBeanInterceptorHandler.java
Date Tue, 09 Aug 2011 11:28:37 GMT
Author: struberg
Date: Tue Aug  9 11:28:37 2011
New Revision: 1155314

URL: http://svn.apache.org/viewvc?rev=1155314&view=rev
Log:
OWB-600 rename variable to better reflect it's purpose

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/NormalScopedBeanInterceptorHandler.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/NormalScopedBeanInterceptorHandler.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/NormalScopedBeanInterceptorHandler.java?rev=1155314&r1=1155313&r2=1155314&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/NormalScopedBeanInterceptorHandler.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/NormalScopedBeanInterceptorHandler.java
Tue Aug  9 11:28:37 2011
@@ -47,7 +47,7 @@ public class NormalScopedBeanInterceptor
     private static final String FINALIZE = "finalize".intern();
 
     /** this stores the {@link java.lang.reflect.Method#hashCode()} of intercepted methods
*/
-    private CopyOnWriteArrayList<Integer> cachedInterceptorMethods = new CopyOnWriteArrayList<Integer>();
+    private CopyOnWriteArrayList<Integer> cachedInterceptedMethods = new CopyOnWriteArrayList<Integer>();
 
     /**
      * Creates a new bean instance
@@ -83,7 +83,7 @@ public class NormalScopedBeanInterceptor
     protected boolean isNotInterceptedOrDecoratedMethod(Method method)
     {
         int currentHash = method.hashCode();
-        if (cachedInterceptorMethods.contains(currentHash))
+        if (cachedInterceptedMethods.contains(currentHash))
         {
             return true;
         }
@@ -94,9 +94,9 @@ public class NormalScopedBeanInterceptor
     protected void setNotInterceptedOrDecoratedMethod(Method method)
     {
         Integer hashCode = method.hashCode();
-        if (!cachedInterceptorMethods.contains(hashCode))
+        if (!cachedInterceptedMethods.contains(hashCode))
         {
-            cachedInterceptorMethods.add(hashCode);
+            cachedInterceptedMethods.add(hashCode);
         }
     }
 



Mime
View raw message