8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base

Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: bchristi, lancea
This commit is contained in:
Julia Boes 2019-09-24 09:43:43 +01:00
parent 13d0bac294
commit d15a57b842
139 changed files with 3499 additions and 3499 deletions

View file

@ -32,7 +32,7 @@ import java.io.ObjectStreamField;
/**
* Signals that an unexpected exception has occurred in a static initializer.
* An <code>ExceptionInInitializerError</code> is thrown to indicate that an
* An {@code ExceptionInInitializerError} is thrown to indicate that an
* exception occurred during evaluation of a static initializer or the
* initializer for a static variable.
*
@ -54,8 +54,8 @@ public class ExceptionInInitializerError extends LinkageError {
private static final long serialVersionUID = 1521711792217232256L;
/**
* Constructs an <code>ExceptionInInitializerError</code> with
* <code>null</code> as its detail message string and with no saved
* Constructs an {@code ExceptionInInitializerError} with
* {@code null} as its detail message string and with no saved
* throwable object.
* A detail message is a String that describes this particular exception.
*/
@ -64,10 +64,10 @@ public class ExceptionInInitializerError extends LinkageError {
}
/**
* Constructs a new <code>ExceptionInInitializerError</code> class by
* saving a reference to the <code>Throwable</code> object thrown for
* Constructs a new {@code ExceptionInInitializerError} class by
* saving a reference to the {@code Throwable} object thrown for
* later retrieval by the {@link #getException()} method. The detail
* message string is set to <code>null</code>.
* message string is set to {@code null}.
*
* @param thrown The exception thrown
*/
@ -97,8 +97,8 @@ public class ExceptionInInitializerError extends LinkageError {
* obtaining this information.
*
* @return the saved throwable object of this
* <code>ExceptionInInitializerError</code>, or <code>null</code>
* if this <code>ExceptionInInitializerError</code> has no saved
* {@code ExceptionInInitializerError}, or {@code null}
* if this {@code ExceptionInInitializerError} has no saved
* throwable object.
*/
public Throwable getException() {