OpenJDK / jdk / jdk
changeset 48245:be39de5f0315
8185027: Typo in java.net.URLClassLoader.findResources(String) method documentation
Reviewed-by: alanb
author | chegar |
---|---|
date | Tue, 12 Dec 2017 13:08:22 +0000 |
parents | 2bf9071e8dce |
children | aadc02050d3b |
files | src/java.base/share/classes/java/net/URLClassLoader.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.base/share/classes/java/net/URLClassLoader.java Tue Dec 12 14:04:57 2017 +0100 +++ b/src/java.base/share/classes/java/net/URLClassLoader.java Tue Dec 12 13:08:22 2017 +0000 @@ -658,8 +658,8 @@ * * @param name the resource name * @exception IOException if an I/O exception occurs - * @return an {@code Enumeration} of {@code URL}s - * If the loader is closed, the Enumeration will be empty. + * @return An {@code Enumeration} of {@code URL}s. + * If the loader is closed, the Enumeration contains no elements. */ public Enumeration<URL> findResources(final String name) throws IOException