- Timestamp:
- 2016-03-12T11:24:38+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r9965 r9966 1437 1437 if (loadedVersion < 9715) { 1438 1438 Setting<?> setting = settingsMap.get("imagery.entries"); 1439 if (setting != null && settinginstanceof MapListSetting) {1439 if (setting instanceof MapListSetting) { 1440 1440 List<Map<String, String>> l = new LinkedList<>(); 1441 1441 boolean modified = false; … … 1462 1462 if (loadedVersion < 9965) { 1463 1463 Setting<?> setting = settingsMap.get("mappaint.style.entries"); 1464 if (setting != null && settinginstanceof MapListSetting) {1464 if (setting instanceof MapListSetting) { 1465 1465 List<Map<String, String>> l = new LinkedList<>(); 1466 1466 boolean modified = false; -
trunk/src/org/openstreetmap/josm/gui/mappaint/StyleSetting.java
r9786 r9966 92 92 93 93 public void setValue(Object o) { 94 if ( o == null ||!(o instanceof Boolean)) {94 if (!(o instanceof Boolean)) { 95 95 throw new IllegalArgumentException(); 96 96 }
Note:
See TracChangeset
for help on using the changeset viewer.