Author: manaRH
Date: 2009-03-27 10:32:22 -0400 (Fri, 27 Mar 2009)
New Revision: 10223
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/contexts/ServerConversationContext.java
Log:
JBPAPP-1832
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/contexts/ServerConversationContext.java
===================================================================
---
branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/contexts/ServerConversationContext.java 2009-03-26
23:33:51 UTC (rev 10222)
+++
branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/contexts/ServerConversationContext.java 2009-03-27
14:32:22 UTC (rev 10223)
@@ -299,10 +299,15 @@
else
{
//TODO: for a pure temporary conversation, this is unnecessary, optimize it
- for ( String name: getNamesFromSession() )
- {
+ for (String name: getNamesFromSession()) {
session.remove( getKey(name) );
}
+
+ // remove removed objects
+ for (String name: removals) {
+ session.remove(getKey(name));
+ }
+ removals.clear();
}
}
Show replies by date