fix missing icons

This commit is contained in:
Gregory.Shrago
2012-06-01 16:56:57 +04:00
parent 96e202fd3e
commit 1f36582167
@@ -157,6 +157,7 @@ public final class IconLoader {
@Nullable
public static Icon findIcon(final String path, final ClassLoader aClassLoader) {
if (path.startsWith("AllIcons.")) return getReflectiveIcon(path);
if (!path.startsWith("/")) return null;
final URL url = aClassLoader.getResource(path.substring(1));