myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1516523 - /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/flow/cdi/FlowScopeBeanHolder.java
Date Thu, 22 Aug 2013 17:25:11 GMT
Author: lu4242
Date: Thu Aug 22 17:25:10 2013
New Revision: 1516523

URL: http://svn.apache.org/r1516523
Log:
MYFACES-3741 Implement CDI Flow Scope (fix bug over ContextualStorage)

Modified:
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/flow/cdi/FlowScopeBeanHolder.java

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/flow/cdi/FlowScopeBeanHolder.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/flow/cdi/FlowScopeBeanHolder.java?rev=1516523&r1=1516522&r2=1516523&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/flow/cdi/FlowScopeBeanHolder.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/flow/cdi/FlowScopeBeanHolder.java
Thu Aug 22 17:25:10 2013
@@ -90,7 +90,8 @@ public class FlowScopeBeanHolder impleme
                 contextualStorage = storageMap.get(flowClientWindowId);
                 if (contextualStorage == null)
                 {
-                    storageMap.put(flowClientWindowId, new ContextualStorage(beanManager,
true, true));
+                    contextualStorage = new ContextualStorage(beanManager, true, true);
+                    storageMap.put(flowClientWindowId, contextualStorage);
                 }
             }
         }



Mime
View raw message