You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2004/04/18 16:50:44 UTC

cvs commit: jakarta-tapestry/framework/src/org/apache/tapestry/record SessionPageRecorder.java

hlship      2004/04/18 07:50:44

  Modified:    framework/src/org/apache/tapestry/record
                        SessionPageRecorder.java
  Log:
  [28454] Mutable objects not stored properly in a cluster
  
  Revision  Changes    Path
  1.8       +1 -19     jakarta-tapestry/framework/src/org/apache/tapestry/record/SessionPageRecorder.java
  
  Index: SessionPageRecorder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/record/SessionPageRecorder.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SessionPageRecorder.java	19 Feb 2004 17:38:06 -0000	1.7
  +++ SessionPageRecorder.java	18 Apr 2004 14:50:43 -0000	1.8
  @@ -179,24 +179,6 @@
           if (_changes == null)
               _changes = new HashMap();
   
  -        // Check the prior value.  If this is not an actual change,
  -        // then don't bother recording it, or marking this page recorder
  -        // dirty.
  -
  -        Object oldValue = _changes.get(key);
  -        if (newValue == oldValue)
  -            return;
  -
  -        try
  -        {
  -            if (oldValue != null && oldValue.equals(newValue))
  -                return;
  -        }
  -        catch (Exception ex)
  -        {
  -            // Ignore.
  -        }
  -
           setDirty(true);
   
           _changes.put(key, newValue);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org