aboutsummaryrefslogtreecommitdiff
path: root/src/java.base/share/classes/java/lang/String.java
diff options
context:
space:
mode:
authorMark Reinhold <mr@openjdk.org>2020-07-15 14:21:54 -0700
committerMark Reinhold <mr@openjdk.org>2020-07-15 14:21:54 -0700
commit55039aa1c6d0b9bbee49fe8764705615d1998dc7 (patch)
tree310b3259030c9ed3053778197e0dc03765033e80 /src/java.base/share/classes/java/lang/String.java
parent24f4f14c3d1e2f66103ca13dfd3646f97d59d653 (diff)
downloadopenjdk-55039aa1c6d0b9bbee49fe8764705615d1998dc7.tar.gz
openjdk-55039aa1c6d0b9bbee49fe8764705615d1998dc7.zip
8249205: Remove unnecessary trademark symbols
Reviewed-by: darcy, lancea, bpb, prr, jjg, cjplummer, iris, dfuchs, weijun, joehw, wetmore, bchristi
Diffstat (limited to 'src/java.base/share/classes/java/lang/String.java')
-rw-r--r--src/java.base/share/classes/java/lang/String.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java.base/share/classes/java/lang/String.java b/src/java.base/share/classes/java/lang/String.java
index 33992cad98e..8ed94e7aa31 100644
--- a/src/java.base/share/classes/java/lang/String.java
+++ b/src/java.base/share/classes/java/lang/String.java
@@ -90,7 +90,7 @@ import static java.util.function.Predicate.not;
* The Java language provides special support for the string
* concatenation operator (&nbsp;+&nbsp;), and for conversion of
* other objects to strings. For additional information on string
- * concatenation and conversion, see <i>The Java&trade; Language Specification</i>.
+ * concatenation and conversion, see <i>The Java Language Specification</i>.
*
* <p> Unless otherwise noted, passing a {@code null} argument to a constructor
* or method in this class will cause a {@link NullPointerException} to be
@@ -113,7 +113,7 @@ import static java.util.function.Predicate.not;
*
* @implNote The implementation of the string concatenation operator is left to
* the discretion of a Java compiler, as long as the compiler ultimately conforms
- * to <i>The Java&trade; Language Specification</i>. For example, the {@code javac} compiler
+ * to <i>The Java Language Specification</i>. For example, the {@code javac} compiler
* may implement the operator with {@code StringBuffer}, {@code StringBuilder},
* or {@code java.lang.invoke.StringConcatFactory} depending on the JDK version. The
* implementation of string conversion is typically through the method {@code toString},
@@ -3269,7 +3269,7 @@ public final class String
* extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by
- * <cite>The Java&trade; Virtual Machine Specification</cite>.
+ * <cite>The Java Virtual Machine Specification</cite>.
* The behaviour on a
* {@code null} argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>.
@@ -3310,7 +3310,7 @@ public final class String
* extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by
- * <cite>The Java&trade; Virtual Machine Specification</cite>.
+ * <cite>The Java Virtual Machine Specification</cite>.
* The behaviour on a
* {@code null} argument depends on the
* <a href="../util/Formatter.html#syntax">conversion</a>.
@@ -3534,7 +3534,7 @@ public final class String
* <p>
* All literal strings and string-valued constant expressions are
* interned. String literals are defined in section 3.10.5 of the
- * <cite>The Java&trade; Language Specification</cite>.
+ * <cite>The Java Language Specification</cite>.
*
* @return a string that has the same contents as this string, but is
* guaranteed to be from a pool of unique strings.