Changeset 10936 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2016-09-03T03:27:18+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/protocols/data/Handler.java
r10931 r10936 32 32 String protocolHandlers = System.getProperty("java.protocol.handler.pkgs", ""); 33 33 if (!protocolHandlers.contains(pkg)) { 34 if (!protocolHandlers.isEmpty()) { 35 protocolHandlers += "|"; 34 StringBuilder sb = new StringBuilder(protocolHandlers); 35 if (sb.length() > 0) { 36 sb.append('|'); 36 37 } 37 protocolHandlers += pkg;38 Utils.updateSystemProperty("java.protocol.handler.pkgs", protocolHandlers);38 sb.append(pkg); 39 Utils.updateSystemProperty("java.protocol.handler.pkgs", sb.toString()); 39 40 } 40 41 }
Note:
See TracChangeset
for help on using the changeset viewer.