Author: struberg
Date: Fri Apr 13 12:32:13 2018
New Revision: 1829066

URL: http://svn.apache.org/viewvc?rev=1829066&view=rev
Log:
rename variable. webbeansContext is confusing for the Context

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=1829066&r1=1829065&r2=1829066&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
 Fri Apr 13 12:32:13 2018
@@ -86,10 +86,10 @@ public class NormalScopedBeanInterceptor
         Object webbeansInstance;
 
         //Context of the bean
-        Context webbeansContext = beanManager.getContext(bean.getScope());
+        Context context = beanManager.getContext(bean.getScope());
 
         //Already saved in context?
-        webbeansInstance = webbeansContext.get(bean);
+        webbeansInstance = context.get(bean);
         if (webbeansInstance != null)
         {
             // voila, we are finished if we found an existing contextual 
instance
@@ -98,7 +98,7 @@ public class NormalScopedBeanInterceptor
 
         // finally, we create a new contextual instance
         CreationalContext cc = beanManager.createCreationalContext(bean);
-        webbeansInstance = webbeansContext.get(bean, cc);
+        webbeansInstance = context.get(bean, cc);
 
         if (webbeansInstance == null)
         {


Reply via email to