summaryrefslogtreecommitdiff
path: root/spellchecker/src/SpellCorrector.java
diff options
context:
space:
mode:
Diffstat (limited to 'spellchecker/src/SpellCorrector.java')
-rw-r--r--spellchecker/src/SpellCorrector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/spellchecker/src/SpellCorrector.java b/spellchecker/src/SpellCorrector.java
index 39ded2e..4bc3fe8 100644
--- a/spellchecker/src/SpellCorrector.java
+++ b/spellchecker/src/SpellCorrector.java
@@ -66,8 +66,8 @@ public class SpellCorrector {
}
private void debugPrint(String str) {
- // print debugging information if NO_PEACH is set.
- if (System.getenv("NO_PEACH") != null) {
+ // print debugging information if DEBUG_PRINTS or DEBUG_SCORE is set.
+ if (DEBUG_SCORE || System.getenv("DEBUG_PRINTS") != null) {
System.err.println(str);
}
}