diff -r a7f16447085e -r 48e480e56aad src/java.base/share/classes/java/lang/CloneNotSupportedException.java
--- a/src/java.base/share/classes/java/lang/CloneNotSupportedException.java Tue Sep 24 10:04:13 2019 +0000
+++ b/src/java.base/share/classes/java/lang/CloneNotSupportedException.java Tue Sep 24 09:43:43 2019 +0100
@@ -26,12 +26,12 @@
package java.lang;
/**
- * Thrown to indicate that the clone
method in class
- * Object
has been called to clone an object, but that
- * the object's class does not implement the Cloneable
+ * Thrown to indicate that the {@code clone} method in class
+ * {@code Object} has been called to clone an object, but that
+ * the object's class does not implement the {@code Cloneable}
* interface.
*
- * Applications that override the clone
method can also
+ * Applications that override the {@code clone} method can also
* throw this exception to indicate that an object could not or
* should not be cloned.
*
@@ -47,7 +47,7 @@
private static final long serialVersionUID = 5195511250079656443L;
/**
- * Constructs a CloneNotSupportedException
with no
+ * Constructs a {@code CloneNotSupportedException} with no
* detail message.
*/
public CloneNotSupportedException() {
@@ -55,7 +55,7 @@
}
/**
- * Constructs a CloneNotSupportedException
with the
+ * Constructs a {@code CloneNotSupportedException} with the
* specified detail message.
*
* @param s the detail message.