CVSROOT:        /sources/classpath
Module name:    classpath
Changes by:     Andrew John Hughes <gnu_andrew> 08/05/11 18:48:52

Modified files:
        .              : ChangeLog 
        gnu/java/lang  : CPStringBuilder.java 

Log message:
        2008-05-11  Andrew John Hughes  <[EMAIL PROTECTED]>
        
                PR classpath/36147
                * gnu/java/lang/CPStringBuilder.java:
                (allocated): New flag to mark whether or
                not the array has been allocated to a String object.
                (ensureCapacity(int)): Removed.
                (ensureCapacity_unsynchronized(int)): Renamed to
                ensureCapacity, and creates an array when allocated
                is true.
                (allocateArray(int)): Added.
                (trimToSize()): Use allocateArray method.
                (toString()): Set allocated to true;
                (substring(int,int)): Likewise.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9610&r2=1.9611
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/lang/CPStringBuilder.java?cvsroot=classpath&r1=1.7&r2=1.8


Reply via email to