From eb44ad324dba76b48d0e2b9011e3c76e93d3cc03 Mon Sep 17 00:00:00 2001 From: Tomas Fernandez Lobbe Date: Tue, 27 Aug 2019 13:34:31 -0700 Subject: [PATCH] LUCENE-8954: Fix precommit --- .../apache/lucene/analysis/ko/KoreanPartOfSpeechStopFilter.java | 1 - .../lucene/analysis/ko/TestKoreanReadingFormFilterFactory.java | 1 - .../apache/lucene/analysis/ko/TestKoreanTokenizerFactory.java | 1 - 3 files changed, 3 deletions(-) diff --git a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanPartOfSpeechStopFilter.java b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanPartOfSpeechStopFilter.java index a5ab4d89ac3..8686b7fa71c 100644 --- a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanPartOfSpeechStopFilter.java +++ b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanPartOfSpeechStopFilter.java @@ -20,7 +20,6 @@ package org.apache.lucene.analysis.ko; import java.util.Arrays; import java.util.HashSet; import java.util.Set; -import java.util.stream.Collectors; import org.apache.lucene.analysis.FilteringTokenFilter; import org.apache.lucene.analysis.TokenStream; diff --git a/lucene/analysis/nori/src/test/org/apache/lucene/analysis/ko/TestKoreanReadingFormFilterFactory.java b/lucene/analysis/nori/src/test/org/apache/lucene/analysis/ko/TestKoreanReadingFormFilterFactory.java index aa74dedeb88..1657e89b6f0 100644 --- a/lucene/analysis/nori/src/test/org/apache/lucene/analysis/ko/TestKoreanReadingFormFilterFactory.java +++ b/lucene/analysis/nori/src/test/org/apache/lucene/analysis/ko/TestKoreanReadingFormFilterFactory.java @@ -21,7 +21,6 @@ import java.io.StringReader; import java.util.HashMap; import org.apache.lucene.analysis.BaseTokenStreamTestCase; -import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.Tokenizer; /** diff --git a/lucene/analysis/nori/src/test/org/apache/lucene/analysis/ko/TestKoreanTokenizerFactory.java b/lucene/analysis/nori/src/test/org/apache/lucene/analysis/ko/TestKoreanTokenizerFactory.java index 7c9aeeded1c..b996a3fb7ad 100644 --- a/lucene/analysis/nori/src/test/org/apache/lucene/analysis/ko/TestKoreanTokenizerFactory.java +++ b/lucene/analysis/nori/src/test/org/apache/lucene/analysis/ko/TestKoreanTokenizerFactory.java @@ -23,7 +23,6 @@ import java.util.HashMap; import java.util.Map; import org.apache.lucene.analysis.BaseTokenStreamTestCase; -import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.Tokenizer; /**