mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
more debug logging for icon loading
This commit is contained in:
@@ -199,11 +199,14 @@ public final class IconLoader {
|
||||
@NotNull
|
||||
private static Pair<String, Class> patchPath(@NotNull String path) {
|
||||
for (IconPathPatcher patcher : ourPatchers) {
|
||||
LOG.debug("patch paths with " + patcher);
|
||||
String newPath = patcher.patchPath(path);
|
||||
if (newPath != null) {
|
||||
LOG.debug("replace path " + path + " with " + newPath);
|
||||
return Pair.create(newPath, patcher.getContextClass(path));
|
||||
}
|
||||
}
|
||||
LOG.debug("use path " + path);
|
||||
return Pair.create(path, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user