< prev index next >
src/java.base/share/classes/java/lang/AssertionError.java
Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols
@@ -33,11 +33,11 @@
* <pre>
* new AssertionError(<i>expression</i>)
* </pre>
* has as its detail message the <i>string conversion</i> of
* <i>expression</i> (as defined in section 15.18.1.1 of
- * <cite>The Java™ Language Specification</cite>),
+ * <cite>The Java Language Specification</cite>),
* regardless of the type of <i>expression</i>.
*
* @since 1.4
*/
public class AssertionError extends Error {
@@ -61,11 +61,11 @@
/**
* Constructs an AssertionError with its detail message derived
* from the specified object, which is converted to a string as
* defined in section 15.18.1.1 of
- * <cite>The Java™ Language Specification</cite>.
+ * <cite>The Java Language Specification</cite>.
*<p>
* If the specified object is an instance of {@code Throwable}, it
* becomes the <i>cause</i> of the newly constructed assertion error.
*
* @param detailMessage value to be used in constructing detail message
@@ -79,11 +79,11 @@
/**
* Constructs an AssertionError with its detail message derived
* from the specified {@code boolean}, which is converted to
* a string as defined in section 15.18.1.1 of
- * <cite>The Java™ Language Specification</cite>.
+ * <cite>The Java Language Specification</cite>.
*
* @param detailMessage value to be used in constructing detail message
*/
public AssertionError(boolean detailMessage) {
this(String.valueOf(detailMessage));
@@ -91,11 +91,11 @@
/**
* Constructs an AssertionError with its detail message derived
* from the specified {@code char}, which is converted to a
* string as defined in section 15.18.1.1 of
- * <cite>The Java™ Language Specification</cite>.
+ * <cite>The Java Language Specification</cite>.
*
* @param detailMessage value to be used in constructing detail message
*/
public AssertionError(char detailMessage) {
this(String.valueOf(detailMessage));
@@ -103,11 +103,11 @@
/**
* Constructs an AssertionError with its detail message derived
* from the specified {@code int}, which is converted to a
* string as defined in section 15.18.1.1 of
- * <cite>The Java™ Language Specification</cite>.
+ * <cite>The Java Language Specification</cite>.
*
* @param detailMessage value to be used in constructing detail message
*/
public AssertionError(int detailMessage) {
this(String.valueOf(detailMessage));
@@ -115,11 +115,11 @@
/**
* Constructs an AssertionError with its detail message derived
* from the specified {@code long}, which is converted to a
* string as defined in section 15.18.1.1 of
- * <cite>The Java™ Language Specification</cite>.
+ * <cite>The Java Language Specification</cite>.
*
* @param detailMessage value to be used in constructing detail message
*/
public AssertionError(long detailMessage) {
this(String.valueOf(detailMessage));
@@ -127,11 +127,11 @@
/**
* Constructs an AssertionError with its detail message derived
* from the specified {@code float}, which is converted to a
* string as defined in section 15.18.1.1 of
- * <cite>The Java™ Language Specification</cite>.
+ * <cite>The Java Language Specification</cite>.
*
* @param detailMessage value to be used in constructing detail message
*/
public AssertionError(float detailMessage) {
this(String.valueOf(detailMessage));
@@ -139,11 +139,11 @@
/**
* Constructs an AssertionError with its detail message derived
* from the specified {@code double}, which is converted to a
* string as defined in section 15.18.1.1 of
- * <cite>The Java™ Language Specification</cite>.
+ * <cite>The Java Language Specification</cite>.
*
* @param detailMessage value to be used in constructing detail message
*/
public AssertionError(double detailMessage) {
this(String.valueOf(detailMessage));
< prev index next >