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) 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
|
||||
|
@ -106,7 +106,7 @@ class Dictionary<K,V> {
|
|||
* @param key a key in this dictionary.
|
||||
* {@code null} if the key is not mapped to any value in
|
||||
* this dictionary.
|
||||
* @exception NullPointerException if the {@code key} is {@code null}.
|
||||
* @throws NullPointerException if the {@code key} is {@code null}.
|
||||
* @see java.util.Dictionary#put(java.lang.Object, java.lang.Object)
|
||||
*/
|
||||
public abstract V get(Object key);
|
||||
|
@ -133,7 +133,7 @@ class Dictionary<K,V> {
|
|||
* @return the previous value to which the {@code key} was mapped
|
||||
* in this dictionary, or {@code null} if the key did not
|
||||
* have a previous mapping.
|
||||
* @exception NullPointerException if the {@code key} or
|
||||
* @throws NullPointerException if the {@code key} or
|
||||
* {@code value} is {@code null}.
|
||||
* @see java.lang.Object#equals(java.lang.Object)
|
||||
* @see java.util.Dictionary#get(java.lang.Object)
|
||||
|
@ -149,7 +149,7 @@ class Dictionary<K,V> {
|
|||
* @return the value to which the {@code key} had been mapped in this
|
||||
* dictionary, or {@code null} if the key did not have a
|
||||
* mapping.
|
||||
* @exception NullPointerException if {@code key} is {@code null}.
|
||||
* @throws NullPointerException if {@code key} is {@code null}.
|
||||
*/
|
||||
public abstract V remove(Object key);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue