Changeset 6780 in josm
- Timestamp:
- 2014-01-29T23:51:25+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r6774 r6780 1285 1285 // See Oracle bug database: https://bugs.openjdk.java.net/browse/JDK-7075600 1286 1286 // and https://bugs.openjdk.java.net/browse/JDK-6923200 1287 if ( Main.pref.getBoolean("jdk.Arrays.useLegacyMergeSort", !Version.getInstance().isLocalBuild())) {1287 if (getBoolean("jdk.Arrays.useLegacyMergeSort", !Version.getInstance().isLocalBuild())) { 1288 1288 updateSystemProperty("java.util.Arrays.useLegacyMergeSort", "true"); 1289 1289 } … … 1292 1292 private void updateSystemProperty(String key, String value) { 1293 1293 if (value != null) { 1294 System.setProperty(key, value); 1294 String old = System.setProperty(key, value); 1295 Main.debug("System property '"+key+"' set to '"+value+"'. Old value was '"+old+"'"); 1295 1296 } 1296 1297 } … … 1299 1300 * The default plugin site 1300 1301 */ 1301 private final static String[] DEFAULT_PLUGIN_SITE = { 1302 Main.JOSM_WEBSITE+"/plugin%<?plugins=>"}; 1303 1304 /**1305 * Replies the collection of plugin site URLs from where plugin lists can be downloaded1302 private final static String[] DEFAULT_PLUGIN_SITE = {Main.JOSM_WEBSITE+"/plugin%<?plugins=>"}; 1303 1304 /** 1305 * Replies the collection of plugin site URLs from where plugin lists can be downloaded. 1306 * @return the collection of plugin site URLs 1306 1307 */ 1307 1308 public Collection<String> getPluginSites() {
Note:
See TracChangeset
for help on using the changeset viewer.