Skip to content

Commit de0d5d3

Browse files
committed
Ignore log on spell checker
1 parent b5d0652 commit de0d5d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/kodedu/spell/dictionary/DictionaryService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void processTokens(EditorPane editorPane, String jsonToken, String mode)
8787
try {
8888
return languageSpeller.isMisspelled(t.getValue());
8989
} catch (Exception e) {
90-
logger.info("Couldn't spell the word: {}", t.getValue(), e);
90+
// logger.info("Couldn't spell the word: {}", t.getValue(), e);
9191
return false;
9292
}
9393
})
@@ -97,7 +97,7 @@ public void processTokens(EditorPane editorPane, String jsonToken, String mode)
9797
t.setEmptySuggestion(suggestions.isEmpty());
9898
suggestionMap.put(t.getValue(), suggestions);
9999
} catch (Exception e) {
100-
logger.info("Couldn't find suggestions for value {}", t.getValue(), e);
100+
// logger.info("Couldn't find suggestions for value {}", t.getValue(), e);
101101
}
102102
})
103103
.collect(Collectors.toList());

0 commit comments

Comments
 (0)