[seam-commits] Seam SVN: r9726 - trunk/src/main/org/jboss/seam/persistence.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Dec 4 11:10:07 EST 2008


Author: dan.j.allen
Date: 2008-12-04 11:10:07 -0500 (Thu, 04 Dec 2008)
New Revision: 9726

Modified:
   trunk/src/main/org/jboss/seam/persistence/ManagedEntityWrapper.java
Log:
use equals() for good measure


Modified: trunk/src/main/org/jboss/seam/persistence/ManagedEntityWrapper.java
===================================================================
--- trunk/src/main/org/jboss/seam/persistence/ManagedEntityWrapper.java	2008-12-04 14:54:20 UTC (rev 9725)
+++ trunk/src/main/org/jboss/seam/persistence/ManagedEntityWrapper.java	2008-12-04 16:10:07 UTC (rev 9726)
@@ -229,7 +229,7 @@
       {
          String currentCid = manager.getCurrentConversationId();
          String residentCid = manager.getCurrentConversationEntry().findPositionInConversationStack(component);
-         if (residentCid != currentCid)
+         if (!currentCid.equals(residentCid))
          {
             Contexts.getConversationContext().flush();
             Manager.instance().switchConversation(residentCid);




More information about the seam-commits mailing list