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/02/26 20:27:17 UTC

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

ericvas     2004/02/26 11:27:17

  Modified:    v2/src/newstore2/org/apache/xmlbeans/impl/newstore2
                        CharUtil.java
  Log:
  Fixed char allocation
  
  Revision  Changes    Path
  1.4       +3 -3      xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/CharUtil.java
  
  Index: CharUtil.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/CharUtil.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CharUtil.java	25 Feb 2004 23:16:10 -0000	1.3
  +++ CharUtil.java	26 Feb 2004 19:27:17 -0000	1.4
  @@ -406,7 +406,7 @@
                       src, off + posRemove + cchRemove, cch - posRemove - cchRemove );
   
                   newSrc = chars;
  -                newOff = 0;
  +                newOff = _offSrc;
               }
               else
               {
  @@ -414,9 +414,9 @@
                       new CharJoin(
                           src, off, posRemove,
                           src, off + posRemove + cchRemove, cch - posRemove - cchRemove );
  +                
  +                newOff = 0;
               }
  -            
  -            newOff = 0;
           }
           else
           {
  
  
  

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