mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
to avoid exception in JarFileSystem, don't remove trailing slash from external resource URLs
This commit is contained in:
@@ -50,7 +50,7 @@ public class ExternalResourcesRootsProvider extends IndexableSetContributor {
|
||||
if (dirs.add(dir)) {
|
||||
String url = resource.getResourceUrl();
|
||||
if (url != null) {
|
||||
set.add(url.substring(0, url.lastIndexOf('/')));
|
||||
set.add(url.substring(0, url.lastIndexOf('/') + 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user