--- old/src/java.base/share/classes/java/util/InputMismatchException.java 2015-08-07 21:15:08.158584510 +0400 +++ new/src/java.base/share/classes/java/util/InputMismatchException.java 2015-08-07 21:15:07.950584519 +0400 @@ -26,7 +26,7 @@ package java.util; /** - * Thrown by a Scanner to indicate that the token + * Thrown by a {@code Scanner} to indicate that the token * retrieved does not match the pattern for the expected type, or * that the token is out of range for the expected type. * @@ -39,7 +39,7 @@ private static final long serialVersionUID = 8811230760997066428L; /** - * Constructs an InputMismatchException with null + * Constructs an {@code InputMismatchException} with {@code null} * as its error message string. */ public InputMismatchException() { @@ -47,9 +47,9 @@ } /** - * Constructs an InputMismatchException, saving a reference - * to the error message string s for later retrieval by the - * getMessage method. + * Constructs an {@code InputMismatchException}, saving a reference + * to the error message string {@code s} for later retrieval by the + * {@code getMessage} method. * * @param s the detail message. */