diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-05-11 22:57:13 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-05-11 22:57:13 +0000 |
commit | b81a06c356c75e29d45a61d12fd1d0e48f20c8eb (patch) | |
tree | 8be2d179a19f711255d01e2a59b1f55ac1ea2f00 /vm | |
parent | 70742595d9d38b01275887b893cc3e8c98b35772 (diff) | |
download | classpath-b81a06c356c75e29d45a61d12fd1d0e48f20c8eb.tar.gz |
2008-05-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/CPStringBuilder.java:
(toString()): Fix comments to reflect copying changes.
* vm/reference/gnu/java/lang/VMCPStringBuilder.java:
(toString()): Likewise.
Diffstat (limited to 'vm')
-rw-r--r-- | vm/reference/gnu/java/lang/VMCPStringBuilder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/reference/gnu/java/lang/VMCPStringBuilder.java b/vm/reference/gnu/java/lang/VMCPStringBuilder.java index aafac7f24..8e137cd3f 100644 --- a/vm/reference/gnu/java/lang/VMCPStringBuilder.java +++ b/vm/reference/gnu/java/lang/VMCPStringBuilder.java @@ -75,8 +75,8 @@ final class VMCPStringBuilder /** * Convert this <code>StringBuilder</code> to a <code>String</code>. The * String is composed of the characters currently in this StringBuilder. Note - * that the result is not a copy, so future modifications to this buffer - * do affect the String. + * that the result is not a copy, so the builder will allocate a new array + * if a further write operation is attempted. * * @param value the buffered characters. * @param startIndex the index at which to start taking characters from the buffer. |