Logo Search packages:      
Sourcecode: josm-plugins version File versions  Download package

void org::openstreetmap::josm::plugins::validator::tests::SpellCheck::startTest (  )  [inline]

Notification of the start of the test. The tester can initialize the structures it may need for this test

Reimplemented from org::openstreetmap::josm::plugins::validator::Test.

Definition at line 336 of file SpellCheck.java.

References checkFixmes, checkKeys, checkValues, org::openstreetmap::josm::plugins::validator::Test::isBeforeUpload, PREF_CHECK_FIXMES, PREF_CHECK_FIXMES_BEFORE_UPLOAD, PREF_CHECK_KEYS, PREF_CHECK_KEYS_BEFORE_UPLOAD, PREF_CHECK_VALUES, and PREF_CHECK_VALUES_BEFORE_UPLOAD.

      {
        checkKeys = Main.pref.getBoolean(PREF_CHECK_KEYS);
        if( isBeforeUpload )
            checkKeys = checkKeys && Main.pref.getBoolean(PREF_CHECK_KEYS_BEFORE_UPLOAD, true);

        checkValues = Main.pref.getBoolean(PREF_CHECK_VALUES);
        if( isBeforeUpload )
            checkValues = checkValues && Main.pref.getBoolean(PREF_CHECK_VALUES_BEFORE_UPLOAD, true);

        checkFixmes = Main.pref.getBoolean(PREF_CHECK_FIXMES);
        if( isBeforeUpload )
            checkFixmes = checkFixmes && Main.pref.getBoolean(PREF_CHECK_FIXMES_BEFORE_UPLOAD, true);
      }


Generated by  Doxygen 1.6.0   Back to index