8295168: Remove superfluous period in @throws tag description
Reviewed-by: bpb, naoto, lancea, iris
This commit is contained in:
parent
9bb932ce30
commit
3a980b972f
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -318,7 +318,7 @@ public abstract class AbstractPreferences extends Preferences {
|
|||||||
* removed with the {@link #removeNode()} method.
|
* removed with the {@link #removeNode()} method.
|
||||||
* @throws IllegalArgumentException if key contains the null control
|
* @throws IllegalArgumentException if key contains the null control
|
||||||
* character, code point U+0000.
|
* character, code point U+0000.
|
||||||
* @throws NullPointerException {@inheritDoc}.
|
* @throws NullPointerException {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
public void remove(String key) {
|
public void remove(String key) {
|
||||||
Objects.requireNonNull(key, "Specified key cannot be null");
|
Objects.requireNonNull(key, "Specified key cannot be null");
|
||||||
|
Loading…
Reference in New Issue
Block a user