[Kaffe] StringBuffer patch.

2000-04-06 Thread Mo DeJong
This patch fixes a bug that was added to StringBuffer recently. It also adds some regressions tests for the bug and related calls. Mo Dejong Red Hat Inc. Thu Apr 6 00:30:30 PDT 2000 Mo DeJong <[EMAIL PROTECTED]> * libraries/javalib/java/lang/StringBuffer.java: fixed special c

Re: StringBuffer patch.

2000-04-01 Thread Archie Cobbs
Mo DeJong writes: > Between revisions 1.11 and 1.12 of > libraries/javalib/java/lang/StringBuffer.java > the access of the StringBuffer.ensureCapacity(int)V method was changed > from public to private. Oops, my fault -- should be fixed now. -Archie _

StringBuffer patch.

2000-04-01 Thread Mo DeJong
Hello. Between revisions 1.11 and 1.12 of libraries/javalib/java/lang/StringBuffer.java the access of the StringBuffer.ensureCapacity(int)V method was changed from public to private. +private void ensureCapacity(int minCapacity) { + if (minCapacity <= 0) + return; + sy