[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-cvs
Subject:    cvs commit: xml-xerces/java/src/org/apache/xerces/dom ParentNode.java
From:       lehors () apache ! org
Date:       2001-12-17 19:38:11
[Download RAW message or body]

lehors      01/12/17 11:38:11

  Modified:    java/src/org/apache/xerces/dom ParentNode.java
  Log:
  fixed NPE in readObject
  
  Revision  Changes    Path
  1.31      +3 -8      xml-xerces/java/src/org/apache/xerces/dom/ParentNode.java
  
  Index: ParentNode.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/ParentNode.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- ParentNode.java	2001/12/14 22:39:37	1.30
  +++ ParentNode.java	2001/12/17 19:38:11	1.31
  @@ -1,4 +1,4 @@
  -/* $Id: ParentNode.java,v 1.30 2001/12/14 22:39:37 lehors Exp $ */
  +/* $Id: ParentNode.java,v 1.31 2001/12/17 19:38:11 lehors Exp $ */
   /*
    * The Apache Software License, Version 1.1
    *
  @@ -1008,14 +1008,9 @@
           // perform default deseralization
           ois.defaultReadObject();
   
  -        // hardset synchildren - so we don't try to sync- it does not make any sense
  -        // to try to synchildren when we just desealize object.
  -
  +        // hardset synchildren - so we don't try to sync - it does not make any
  +        // sense to try to synchildren when we just deserialize object.
           needsSyncChildren(false);
  -
  -        // initialize transients
  -        fNodeListCache.fLength = -1;
  -        fNodeListCache.fChildIndex = -1;
   
       } // readObject(ObjectInputStream)
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic