Skip to content

Commit

Permalink
Fixed URI resolutioon
Browse files Browse the repository at this point in the history
  • Loading branch information
melaasar committed Jul 6, 2021
1 parent a62b3b3 commit 7d9adef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ private void findCatalogs(Map<URI, OmlCatalog> catalogMap, URI folderUri) {
URI currentUri = folderUri;
while (currentUri != null && catalog == null && currentUri.segmentCount() > 0) {
uris.add(currentUri);
URI catalogUri = CommonPlugin.asLocalURI(currentUri.appendSegment("catalog.xml"));
URI catalogUri = currentUri.appendSegment("catalog.xml");
try {
if (new File(catalogUri.toFileString()).exists()) {
if (new File(CommonPlugin.asLocalURI(catalogUri).toFileString()).exists()) {
catalog = OmlCatalog.create(catalogUri);
}
} catch (IOException e) {
Expand Down

0 comments on commit 7d9adef

Please sign in to comment.