src/java.base/share/classes/java/lang/ArrayStoreException.java
changeset 58288 48e480e56aad
parent 57956 e0b8b019d2f5
child 58679 9c3209ff7550
child 59201 b24f4caa1411
--- 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.