mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue