openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1648297 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conversation/ConversationImpl.java
Date Mon, 29 Dec 2014 09:23:03 GMT
Author: rmannibucau
Date: Mon Dec 29 09:23:02 2014
New Revision: 1648297

URL: http://svn.apache.org/r1648297
Log:
once conversation is done, its id is null

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conversation/ConversationImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conversation/ConversationImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conversation/ConversationImpl.java?rev=1648297&r1=1648296&r2=1648297&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conversation/ConversationImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conversation/ConversationImpl.java
Mon Dec 29 09:23:02 2014
@@ -232,9 +232,10 @@ public class ConversationImpl implements
         check();
         if(!isTransient)
         {
-            isTransient = true;
-            iDontUseItAnymore();
             webBeansContext.getConversationManager().removeConversation(this);
+            iDontUseItAnymore();
+            id = null;
+            isTransient = true;
         }
         else
         {



Mime
View raw message