mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base Reviewed-by: prappo, lancea
This commit is contained in:
parent
2fc6c6459d
commit
b15b322cf3
196 changed files with 1959 additions and 1962 deletions
|
@ -249,8 +249,8 @@ public abstract class Buffer {
|
|||
* @param capacity
|
||||
* The new buffer's capacity, in $type$s
|
||||
*
|
||||
* @throws IllegalArgumentException
|
||||
* If the {@code capacity} is a negative integer
|
||||
* @throws IllegalArgumentException
|
||||
* If the {@code capacity} is a negative integer
|
||||
*/
|
||||
static IllegalArgumentException createCapacityException(int capacity) {
|
||||
assert capacity < 0 : "capacity expected to be negative";
|
||||
|
|
|
@ -322,14 +322,14 @@ public abstract class MappedByteBuffer
|
|||
* mapping modes. This method may or may not have an effect for
|
||||
* implementation-specific mapping modes. </p>
|
||||
*
|
||||
* @param index
|
||||
* The index of the first byte in the buffer region that is
|
||||
* to be written back to storage; must be non-negative
|
||||
* and less than limit()
|
||||
* @param index
|
||||
* The index of the first byte in the buffer region that is
|
||||
* to be written back to storage; must be non-negative
|
||||
* and less than limit()
|
||||
*
|
||||
* @param length
|
||||
* The length of the region in bytes; must be non-negative
|
||||
* and no larger than limit() - index
|
||||
* @param length
|
||||
* The length of the region in bytes; must be non-negative
|
||||
* and no larger than limit() - index
|
||||
*
|
||||
* @throws IndexOutOfBoundsException
|
||||
* if the preconditions on the index and length do not
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue