diff -r 33de7752835c -r 94bb65cb37d3 src/java.base/share/classes/java/util/Dictionary.java --- a/src/java.base/share/classes/java/util/Dictionary.java Fri Sep 20 11:33:30 2019 +0800 +++ b/src/java.base/share/classes/java/util/Dictionary.java Fri Sep 20 11:07:52 2019 +0100 @@ -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 @@ * @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 @@ * @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 @@ * @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); }