Skip to content

Commit 8a94cc7

Browse files
author
stoecker
committed
disable old empty internal tagchecker file
git-svn-id: http://josm.openstreetmap.de/svn/trunk@8309 0c6e7542-c601-0410-84e7-c038aed88b3b
1 parent ceb3781 commit 8a94cc7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
File renamed without changes.

src/org/openstreetmap/josm/data/validation/tests/TagChecker.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
public class TagChecker extends Test.TagTest {
6464

6565
/** The default data file of tagchecker rules */
66-
public static final String DATA_FILE = "resource://data/validator/tagchecker.cfg";
66+
//public static final String DATA_FILE = "resource://data/validator/tagchecker.cfg";
6767
/** The config file of ignored tags */
6868
public static final String IGNORE_FILE = "resource://data/validator/ignoretags.cfg";
6969
/** The config file of dictionary words */
@@ -129,7 +129,7 @@ public class TagChecker extends Test.TagTest {
129129

130130
protected static final Entities entities = new Entities();
131131

132-
private static final List<String> DEFAULT_SOURCES = Arrays.asList(DATA_FILE, IGNORE_FILE, SPELL_FILE);
132+
private static final List<String> DEFAULT_SOURCES = Arrays.asList(/*DATA_FILE, */IGNORE_FILE, SPELL_FILE);
133133

134134
/**
135135
* Constructor
@@ -489,7 +489,7 @@ public void addGui(JPanel testPanel) {
489489
prefCheckComplexBeforeUpload.setSelected(Main.pref.getBoolean(PREF_CHECK_COMPLEX_BEFORE_UPLOAD, true));
490490
testPanel.add(prefCheckComplexBeforeUpload, a);
491491

492-
final Collection<String> sources = Main.pref.getCollection(PREF_SOURCES, Arrays.asList(DATA_FILE, IGNORE_FILE, SPELL_FILE));
492+
final Collection<String> sources = Main.pref.getCollection(PREF_SOURCES, DEFAULT_SOURCES);
493493
sourcesList = new EditableList(tr("TagChecker source"));
494494
sourcesList.setItems(sources);
495495
testPanel.add(new JLabel(tr("Data sources ({0})", "*.cfg")), GBC.eol().insets(23, 0, 0, 0));

0 commit comments

Comments
 (0)