8185027: Typo in java.net.URLClassLoader.findResources(String) method documentation
authorchegar
Tue, 12 Dec 2017 13:08:22 +0000
changeset 48245 be39de5f0315
parent 48244 2bf9071e8dce
child 48246 aadc02050d3b
8185027: Typo in java.net.URLClassLoader.findResources(String) method documentation Reviewed-by: alanb
src/java.base/share/classes/java/net/URLClassLoader.java
--- 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