Changeset 14406 in josm for trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
- Timestamp:
- 2018-11-03T01:07:53+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r14404 r14406 31 31 import java.net.URL; 32 32 import java.nio.charset.StandardCharsets; 33 import java.nio.file.InvalidPathException; 33 34 import java.util.Arrays; 34 35 import java.util.Base64; … … 1165 1166 synchronized (getSvgUniverse()) { 1166 1167 try { 1167 URI uri = getSvgUniverse().loadSVG(path); 1168 URI uri = null; 1169 try { 1170 uri = getSvgUniverse().loadSVG(path); 1171 } catch (InvalidPathException e) { 1172 Logging.error("Cannot open {0}: {1}", path, e.getMessage()); 1173 Logging.trace(e); 1174 } 1168 1175 if (uri == null && "jar".equals(path.getProtocol())) { 1169 1176 URL betterPath = Utils.betterJarUrl(path);
Note:
See TracChangeset
for help on using the changeset viewer.
