You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by kk...@apache.org on 2004/11/22 21:30:45 UTC

cvs commit: xml-xmlbeans/v2/src/xmlpublic/org/apache/xmlbeans XmlError.java

kkrouse     2004/11/22 12:30:45

  Modified:    v2/src/xmlpublic/org/apache/xmlbeans XmlError.java
  Log:
  don't dispose of the error's cursor
  
  Revision  Changes    Path
  1.10      +0 -4      xml-xmlbeans/v2/src/xmlpublic/org/apache/xmlbeans/XmlError.java
  
  Index: XmlError.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/xmlpublic/org/apache/xmlbeans/XmlError.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XmlError.java	15 Sep 2004 00:53:55 -0000	1.9
  +++ XmlError.java	22 Nov 2004 20:30:45 -0000	1.10
  @@ -348,8 +348,6 @@
   
           XmlCursor cur = xobj.newCursor();
           XmlError result = forCursor(message, severity, cur);
  -        if (cur != null)
  -            cur.dispose();
           return result;
       }
   
  @@ -367,8 +365,6 @@
   
           XmlCursor cur = xobj.newCursor();
           XmlError result = forCursor(code, args, severity, cur);
  -        if (cur != null)
  -            cur.dispose();
           return result;
       }
   
  
  
  

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