From b22c954e589d62b8ae821c97e509a52556da9ed3 Mon Sep 17 00:00:00 2001 From: asofold Date: Sat, 29 Sep 2012 21:05:08 +0200 Subject: [PATCH] Remove debugging output --- .../nocheatplus/utilities/ds/prefixtree/CharPrefixTree.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fr/neatmonster/nocheatplus/utilities/ds/prefixtree/CharPrefixTree.java b/src/fr/neatmonster/nocheatplus/utilities/ds/prefixtree/CharPrefixTree.java index 06cb7f60..53f04a9f 100644 --- a/src/fr/neatmonster/nocheatplus/utilities/ds/prefixtree/CharPrefixTree.java +++ b/src/fr/neatmonster/nocheatplus/utilities/ds/prefixtree/CharPrefixTree.java @@ -94,7 +94,7 @@ public class CharPrefixTree, L extends CharLookupEntry> /** * Quick and dirty addition: Test if a prefix is contained which either matches the whole input or does not end inside of a word in the input, i.e. the inputs next character is a space. - * @param lcMessage + * @param input * @return */ public boolean hasPrefixWords(final String input) { @@ -103,7 +103,6 @@ public class CharPrefixTree, L extends CharLookupEntry> if (!result.hasPrefix) return false; if (input.length() == result.depth) return true; if (Character.isWhitespace(input.charAt(result.depth))) return true; - System.out.println(input + " -> " + result.depth + ":" + input.charAt(result.depth)); return false; }