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
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
_
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