Changeset 5590 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/advanced/AdvancedPreference.java
- Timestamp:
- 2012-11-18T16:40:44+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/AdvancedPreference.java
r5438 r5590 585 585 if (llEditor.getValue() == 1) { 586 586 List<List<String>> data = llEditor.getData(); 587 if (!Preferences.equalArray((Collection) llSetting.getValue(), data)) { 587 @SuppressWarnings("unchecked") 588 Collection<Collection<String>> llSettingValue = (Collection) llSetting.getValue(); 589 if (!Preferences.equalArray(llSettingValue, data)) { 588 590 pe.setValue(new ListListSetting(data)); 589 591 ok = true; … … 645 647 if (llEditor.getValue() == 1) { 646 648 List<List<String>> data = llEditor.getData(); 647 if (!Preferences.equalArray((Collection) stg.getValue(), data)) { 649 @SuppressWarnings("unchecked") 650 Collection<Collection<String>> stgValue = (Collection) stg.getValue(); 651 if (!Preferences.equalArray(stgValue, data)) { 648 652 e.setValue(new ListListSetting(data)); 649 653 applyFilter();
Note:
See TracChangeset
for help on using the changeset viewer.