提交 e5692ca7 authored 作者: noelgrandin's avatar noelgrandin

fix: revert one one of my earlier cleanups - these fields are obviously meant to…

fix: revert one one of my earlier cleanups - these fields are obviously meant to be public so that they are settable when we're doing development
上级 ed6da82b
......@@ -36,11 +36,13 @@ public class SpellChecker {
private final HashSet<String> dictionary = new HashSet<String>();
private final HashSet<String> used = new HashSet<String>();
private final HashMap<String, Integer> unknown = new HashMap<String, Integer>();
private boolean debug;
private boolean printDictionary;
private boolean addToDictionary;
private int errorCount;
private int contextCount;
// these are public so we can set them during development testing
public boolean debug;
public boolean printDictionary;
/**
* This method is called when executing this application from the command
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论