pnever      2003/11/14 01:11:47

  Modified:    src/share/org/apache/slide/structure ObjectNode.java
  Log:
  Thanks to Steve Vaughan [EMAIL PROTECTED]:
  
  "There was one last problem with ObjectNode and serialization,  the path field
  (an instance of UriPath) should be marked transient.  The constructor for
  ObjectNode always sets this field to null, and the field is alread generated
  when needed (with a call to getPath())."
  
  Revision  Changes    Path
  1.21      +6 -5      
jakarta-slide/src/share/org/apache/slide/structure/ObjectNode.java
  
  Index: ObjectNode.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/structure/ObjectNode.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- ObjectNode.java   12 Nov 2003 08:36:40 -0000      1.20
  +++ ObjectNode.java   14 Nov 2003 09:11:47 -0000      1.21
  @@ -124,7 +124,8 @@
       
       private Vector childrenCache = null;
       
  -    private UriPath path = null;
  +    private transient UriPath path = null;
  +
       
       /**
        * Default constructor.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to