mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
resolving priority fixed
This commit is contained in:
@@ -143,11 +143,13 @@ public class ExternalResourceManagerImpl extends ExternalResourceManagerEx imple
|
||||
public String getResourceLocation(@NonNls String url, String version) {
|
||||
String result = getUserResource(url, version);
|
||||
if (result == null) {
|
||||
result = getStdResource(url, version);
|
||||
XMLCatalogManager manager = getCatalogManager();
|
||||
if (manager != null) {
|
||||
result = manager.resolve(url);
|
||||
}
|
||||
}
|
||||
XMLCatalogManager manager = getCatalogManager();
|
||||
if (manager != null) {
|
||||
result = manager.resolve(url);
|
||||
if (result == null) {
|
||||
result = getStdResource(url, version);
|
||||
}
|
||||
if (result == null) {
|
||||
result = url;
|
||||
|
||||
Reference in New Issue
Block a user