|
63 | 63 | public class TagChecker extends Test.TagTest {
|
64 | 64 |
|
65 | 65 | /** 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"; |
67 | 67 | /** The config file of ignored tags */
|
68 | 68 | public static final String IGNORE_FILE = "resource://data/validator/ignoretags.cfg";
|
69 | 69 | /** The config file of dictionary words */
|
@@ -129,7 +129,7 @@ public class TagChecker extends Test.TagTest {
|
129 | 129 |
|
130 | 130 | protected static final Entities entities = new Entities();
|
131 | 131 |
|
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); |
133 | 133 |
|
134 | 134 | /**
|
135 | 135 | * Constructor
|
@@ -489,7 +489,7 @@ public void addGui(JPanel testPanel) {
|
489 | 489 | prefCheckComplexBeforeUpload.setSelected(Main.pref.getBoolean(PREF_CHECK_COMPLEX_BEFORE_UPLOAD, true));
|
490 | 490 | testPanel.add(prefCheckComplexBeforeUpload, a);
|
491 | 491 |
|
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); |
493 | 493 | sourcesList = new EditableList(tr("TagChecker source"));
|
494 | 494 | sourcesList.setItems(sources);
|
495 | 495 | testPanel.add(new JLabel(tr("Data sources ({0})", "*.cfg")), GBC.eol().insets(23, 0, 0, 0));
|
|
0 commit comments