mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8289779: Map::replaceAll javadoc has redundant @throws clauses
Reviewed-by: prappo, iris
This commit is contained in:
parent
889150b47a
commit
a8eb728680
1 changed files with 5 additions and 10 deletions
|
@ -740,14 +740,9 @@ public interface Map<K, V> {
|
||||||
* is not supported by this map's entry set iterator.
|
* is not supported by this map's entry set iterator.
|
||||||
* @throws ClassCastException if the class of a replacement value
|
* @throws ClassCastException if the class of a replacement value
|
||||||
* prevents it from being stored in this map
|
* prevents it from being stored in this map
|
||||||
* @throws NullPointerException if the specified function is null, or the
|
|
||||||
* specified replacement value is null, and this map does not permit null
|
|
||||||
* values
|
|
||||||
* @throws ClassCastException if a replacement value is of an inappropriate
|
|
||||||
* type for this map
|
|
||||||
* (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
|
* (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
|
||||||
* @throws NullPointerException if function or a replacement value is null,
|
* @throws NullPointerException if the specified function is null, or if a
|
||||||
* and this map does not permit null keys or values
|
* replacement value is null and this map does not permit null values
|
||||||
* (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
|
* (<a href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
|
||||||
* @throws IllegalArgumentException if some property of a replacement value
|
* @throws IllegalArgumentException if some property of a replacement value
|
||||||
* prevents it from being stored in this map
|
* prevents it from being stored in this map
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue