Ignore:
Timestamp:
2016-08-23T22:07:06+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #13429 - Clean validator tree and use listener to find changes (patch by michael2402) - gsoc-core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/upload/ValidateUploadHook.java

    r10448 r10880  
    6161            test.visit(selection);
    6262            test.endTest();
    63             if (ValidatorPreference.PREF_OTHER.get() &&
    64                 Main.pref.getBoolean(ValidatorPreference.PREF_OTHER_UPLOAD, false)) {
     63            if (ValidatorPreference.PREF_OTHER.get() && ValidatorPreference.PREF_OTHER_UPLOAD.get()) {
    6564                errors.addAll(test.getErrors());
    6665            } else {
     
    8382            return true;
    8483
    85         if (Main.pref.getBoolean(ValidatorPreference.PREF_USE_IGNORE, true)) {
     84        if (ValidatorPreference.PREF_USE_IGNORE.get()) {
    8685            int nume = 0;
    8786            for (TestError error : errors) {
Note: See TracChangeset for help on using the changeset viewer.