mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
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:
parent
13d0bac294
commit
d15a57b842
139 changed files with 3499 additions and 3499 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1995, 2004, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -26,14 +26,14 @@
|
|||
package java.lang;
|
||||
|
||||
/**
|
||||
* A class implements the <code>Cloneable</code> interface to
|
||||
* A class implements the {@code Cloneable} interface to
|
||||
* indicate to the {@link java.lang.Object#clone()} method that it
|
||||
* is legal for that method to make a
|
||||
* field-for-field copy of instances of that class.
|
||||
* <p>
|
||||
* Invoking Object's clone method on an instance that does not implement the
|
||||
* <code>Cloneable</code> interface results in the exception
|
||||
* <code>CloneNotSupportedException</code> being thrown.
|
||||
* {@code Cloneable} interface results in the exception
|
||||
* {@code CloneNotSupportedException} being thrown.
|
||||
* <p>
|
||||
* By convention, classes that implement this interface should override
|
||||
* {@code Object.clone} (which is protected) with a public method.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue