jkesselm    02/01/18 10:54:40

  Modified:    java/src/org/apache/xml/utils SuballocatedIntVector.java
  Log:
  <blush>Wrong side of the fencepost...</blush>
  
  Revision  Changes    Path
  1.6       +4 -3      
xml-xalan/java/src/org/apache/xml/utils/SuballocatedIntVector.java
  
  Index: SuballocatedIntVector.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/SuballocatedIntVector.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SuballocatedIntVector.java        14 Dec 2001 18:31:30 -0000      1.5
  +++ SuballocatedIntVector.java        18 Jan 2002 18:54:40 -0000      1.6
  @@ -150,13 +150,14 @@
     }
     
     /**
  -   * Set the length of the list.
  +   * Set the length of the list. This will only work to truncate the list, 
and
  +   * even then it has not been heavily tested and may not be trustworthy.
      *
      * @return length of the list
      */
  -  private  void setSize(int sz)
  +  public void setSize(int sz)
     {
  -    if(m_firstFree<sz)
  +    if(m_firstFree>sz) // Whups; had that backward!
         m_firstFree = sz;
     }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to