mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 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
|
||||
|
@ -364,7 +364,7 @@ public class Deflater {
|
|||
* effect only after that invocation.
|
||||
*
|
||||
* @param strategy the new compression strategy
|
||||
* @exception IllegalArgumentException if the compression strategy is
|
||||
* @throws IllegalArgumentException if the compression strategy is
|
||||
* invalid
|
||||
*/
|
||||
public void setStrategy(int strategy) {
|
||||
|
@ -393,7 +393,7 @@ public class Deflater {
|
|||
* take effect only after that invocation.
|
||||
*
|
||||
* @param level the new compression level (0-9)
|
||||
* @exception IllegalArgumentException if the compression level is invalid
|
||||
* @throws IllegalArgumentException if the compression level is invalid
|
||||
*/
|
||||
public void setLevel(int level) {
|
||||
if ((level < 0 || level > 9) && level != DEFAULT_COMPRESSION) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue