Ignore:
Timestamp:
2017-09-13T16:30:27+02:00 (7 years ago)
Author:
bastiK
Message:

see #15229 - fix deprecations caused by [12840]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/validator/ValidatorTestsPreference.java

    r12649 r12841  
    9797    @Override
    9898    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<>();
    101101
    102102        for (Test test : allTests) {
     
    116116        OsmValidator.initializeTests(testsToInitialize);
    117117
    118         Main.pref.putCollection(ValidatorPrefHelper.PREF_SKIP_TESTS, tests);
    119         Main.pref.putCollection(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);
    120120        ValidatorPrefHelper.PREF_USE_IGNORE.put(prefUseIgnore.isSelected());
    121121        ValidatorPrefHelper.PREF_OTHER.put(prefOther.isSelected());
Note: See TracChangeset for help on using the changeset viewer.