Skip to content

Commit

Permalink
8274879: Replace uses of StringBuffer with StringBuilder within java.…
Browse files Browse the repository at this point in the history
…base classes

revert changes in spec to avoid CSR
  • Loading branch information
turbanoff committed Oct 11, 2021
1 parent 14005d1 commit c8d68c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/lang/Character.java
Expand Up @@ -120,7 +120,7 @@
* <a id="supplementary">Characters</a> whose code points are greater
* than U+FFFF are called <em>supplementary character</em>s. The Java
* platform uses the UTF-16 representation in {@code char} arrays and
* in the {@code String} and {@code StringBuilder} classes. In
* in the {@code String} and {@code StringBuffer} classes. In
* this representation, supplementary characters are represented as a pair
* of {@code char} values, the first from the <em>high-surrogates</em>
* range, (&#92;uD800-&#92;uDBFF), the second from the
Expand Down

0 comments on commit c8d68c2

Please sign in to comment.