You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-cvs@xml.apache.org by er...@apache.org on 2004/07/02 00:05:12 UTC

cvs commit: xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2 Xobj.java

ericvas     2004/07/01 15:05:11

  Modified:    v2/src/newstore2/org/apache/xmlbeans/impl/newstore2
                        Xobj.java
  Log:
  Fix assert
  
  Revision  Changes    Path
  1.2       +3 -2      xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Xobj.java
  
  Index: Xobj.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Xobj.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Xobj.java	24 Jun 2004 17:49:37 -0000	1.1
  +++ Xobj.java	1 Jul 2004 22:05:11 -0000	1.2
  @@ -1203,8 +1203,9 @@
   
       final void invalidateUser ( )
       {
  -        assert isUserNode() && isValid();
  -
  +        assert isValid();
  +        assert _user == null || isUserNode();
  +        
           if (_user != null)
               _user.invalidate_value();
       }
  
  
  

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