You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2018/06/12 13:39:17 UTC
[tika] branch branch_1x updated: undo idiocy
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch branch_1x
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/branch_1x by this push:
new ecbd316 undo idiocy
ecbd316 is described below
commit ecbd3160f9b17e45e1d7635dd760d8b843a951ac
Author: tballison <ta...@mitre.org>
AuthorDate: Tue Jun 12 09:38:50 2018 -0400
undo idiocy
---
.../main/java/org/apache/tika/eval/tokens/CommonTokenCountManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tika-eval/src/main/java/org/apache/tika/eval/tokens/CommonTokenCountManager.java b/tika-eval/src/main/java/org/apache/tika/eval/tokens/CommonTokenCountManager.java
index a5bd96b..1fc2ca3 100644
--- a/tika-eval/src/main/java/org/apache/tika/eval/tokens/CommonTokenCountManager.java
+++ b/tika-eval/src/main/java/org/apache/tika/eval/tokens/CommonTokenCountManager.java
@@ -58,7 +58,7 @@ public class CommonTokenCountManager {
Set<String> set = commonTokenMap.get(defaultLangCode);
if (set == null) {
LOG.warn("No common tokens for default language: '"+defaultLangCode+"'");
- commonTokenMap.put(defaultLangCode, new HashSet<>());
+ commonTokenMap.put(defaultLangCode, new HashSet<String>());
}
}
--
To stop receiving notification emails like this one, please contact
tallison@apache.org.