mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-11 23:48:38 +00:00
8381772: Remove mention of "mutable strings" in java.lang.String Javadocs
Reviewed-by: alanb, liach
This commit is contained in:
parent
13633c0825
commit
67a71249a1
@ -70,9 +70,9 @@ import sun.nio.cs.UTF_8;
|
||||
* string literals in Java programs, such as {@code "abc"}, are
|
||||
* implemented as instances of this class.
|
||||
* <p>
|
||||
* Strings are constant; their values cannot be changed after they
|
||||
* are created. String buffers support mutable strings.
|
||||
* Because String objects are immutable they can be shared. For example:
|
||||
* Strings are immutable; their values cannot be changed after they
|
||||
* are created. Because String objects are immutable they can be shared.
|
||||
* For example:
|
||||
* <blockquote><pre>
|
||||
* String str = "abc";
|
||||
* </pre></blockquote><p>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user