8185027: Typo in java.net.URLClassLoader.findResources(String) method documentation

Reviewed-by: alanb
This commit is contained in:
Chris Hegarty 2017-12-12 13:08:22 +00:00
parent 9d93886076
commit 2f125c1bd5

View File

@ -658,8 +658,8 @@ public class URLClassLoader extends SecureClassLoader implements Closeable {
*
* @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