mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
ClasspathCache correctly handles getResource("/") requests (more strict check)
This commit is contained in:
@@ -128,7 +128,7 @@ public class ClasspathCache {
|
||||
}
|
||||
|
||||
public boolean loaderHasName(String name, Loader loader) {
|
||||
if (StringUtil.isEmptyOrSpaces(name)) return true;
|
||||
if (StringUtil.isEmpty(name)) return true;
|
||||
|
||||
String origName = name;
|
||||
name = transformName(name);
|
||||
|
||||
Reference in New Issue
Block a user