Changeset 12841 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/validator/ValidatorTestsPreference.java
- Timestamp:
- 2017-09-13T16:30:27+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/validator/ValidatorTestsPreference.java
r12649 r12841 97 97 @Override 98 98 public boolean ok() { 99 Collection<String> tests = new LinkedList<>();100 Collection<String> testsBeforeUpload = new LinkedList<>();99 List<String> tests = new LinkedList<>(); 100 List<String> testsBeforeUpload = new LinkedList<>(); 101 101 102 102 for (Test test : allTests) { … … 116 116 OsmValidator.initializeTests(testsToInitialize); 117 117 118 Main.pref.put Collection(ValidatorPrefHelper.PREF_SKIP_TESTS, tests);119 Main.pref.put Collection(ValidatorPrefHelper.PREF_SKIP_TESTS_BEFORE_UPLOAD, testsBeforeUpload);118 Main.pref.putList(ValidatorPrefHelper.PREF_SKIP_TESTS, tests); 119 Main.pref.putList(ValidatorPrefHelper.PREF_SKIP_TESTS_BEFORE_UPLOAD, testsBeforeUpload); 120 120 ValidatorPrefHelper.PREF_USE_IGNORE.put(prefUseIgnore.isSelected()); 121 121 ValidatorPrefHelper.PREF_OTHER.put(prefOther.isSelected());
Note:
See TracChangeset
for help on using the changeset viewer.