--- a/src/java.base/share/classes/java/lang/ArrayStoreException.java Tue Sep 24 10:04:13 2019 +0000
+++ b/src/java.base/share/classes/java/lang/ArrayStoreException.java Tue Sep 24 09:43:43 2019 +0100
@@ -28,7 +28,7 @@
/**
* Thrown to indicate that an attempt has been made to store the
* wrong type of object into an array of objects. For example, the
- * following code generates an <code>ArrayStoreException</code>:
+ * following code generates an {@code ArrayStoreException}:
* <blockquote><pre>
* Object x[] = new String[3];
* x[0] = new Integer(0);
@@ -43,14 +43,14 @@
private static final long serialVersionUID = -4522193890499838241L;
/**
- * Constructs an <code>ArrayStoreException</code> with no detail message.
+ * Constructs an {@code ArrayStoreException} with no detail message.
*/
public ArrayStoreException() {
super();
}
/**
- * Constructs an <code>ArrayStoreException</code> with the specified
+ * Constructs an {@code ArrayStoreException} with the specified
* detail message.
*
* @param s the detail message.