You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2005/03/22 04:37:31 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/dom NodeListCache.java ParentNode.java

mrglavas    2005/03/21 19:37:31

  Modified:    java/src/org/apache/xerces/dom NodeListCache.java
                        ParentNode.java
  Log:
  Adding serialVersionUIDs to serializable classes.
  
  Revision  Changes    Path
  1.7       +5 -1      xml-xerces/java/src/org/apache/xerces/dom/NodeListCache.java
  
  Index: NodeListCache.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/NodeListCache.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- NodeListCache.java	5 Oct 2004 17:12:50 -0000	1.6
  +++ NodeListCache.java	22 Mar 2005 03:37:31 -0000	1.7
  @@ -29,6 +29,10 @@
    * @version $Id$
    */
   class NodeListCache implements Serializable {
  +
  +    /** Serialization version. */
  +    private static final long serialVersionUID = 3258135743263224377L;
  +
       /** Cached node list length. */
       int fLength = -1;
   
  
  
  
  1.47      +4 -1      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.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- ParentNode.java	5 Oct 2004 17:12:50 -0000	1.46
  +++ ParentNode.java	22 Mar 2005 03:37:31 -0000	1.47
  @@ -1016,6 +1016,9 @@
        * a class to store some user data along with its handler
        */
       class UserDataRecord implements Serializable {
  +        /** Serialization version. */
  +        private static final long serialVersionUID = 3691044287424901171L;
  +        
           Object fData;
           UserDataHandler fHandler;
           UserDataRecord(Object data, UserDataHandler handler) {
  
  
  

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