8185027: Typo in java.net.URLClassLoader.findResources(String) method documentation
Reviewed-by: alanb
--- 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