From 9bf78f0f70eb4da51e453421fa9bf365e0adedb9 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 15 Sep 2017 14:21:58 +0200 Subject: [PATCH] doc polish --- src/dorkbox/util/LocationResolver.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/dorkbox/util/LocationResolver.java b/src/dorkbox/util/LocationResolver.java index 62cb969..40ded08 100644 --- a/src/dorkbox/util/LocationResolver.java +++ b/src/dorkbox/util/LocationResolver.java @@ -234,7 +234,7 @@ class LocationResolver { * 2) Checks the current thread context classloader
* 3) Checks the Classloader system resource * - * @param resourceName the name, including path information (Only valid '\' as the path separator) + * @param resourceName the name, including path information (Only '\' is valid as the path separator) * * @return the resource stream, if it could be found, otherwise null. */ @@ -258,16 +258,15 @@ class LocationResolver { } } - // 2) is it in the context classloader + // 2) maybe it's in the context classloader if (resourceAsStream == null) { resourceAsStream = Thread.currentThread() .getContextClassLoader() .getResourceAsStream(resourceName); } - // 3) is it in the system classloader + // 3) maybe it's in the system classloader if (resourceAsStream == null) { - // maybe it's in the system classloader? resourceAsStream = ClassLoader.getSystemResourceAsStream(resourceName); }