From 98621382be954d1aa0cc81e6e06c3973d2a020b9 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Mon, 4 Oct 2010 12:03:51 +0000 Subject: [PATCH] clear up 1.5-only javadocs warnings git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1004215 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/lucene/index/MultiPassIndexSplitter.java | 1 + .../java/org/apache/lucene/store/DirectIOLinuxDirectory.java | 3 +++ .../java/org/apache/lucene/index/SlowMultiReaderWrapper.java | 3 +++ .../org/apache/lucene/collation/ICUCollationKeyAnalyzer.java | 2 ++ .../org/apache/lucene/collation/ICUCollationKeyFilter.java | 2 ++ 5 files changed, 11 insertions(+) diff --git a/lucene/contrib/misc/src/java/org/apache/lucene/index/MultiPassIndexSplitter.java b/lucene/contrib/misc/src/java/org/apache/lucene/index/MultiPassIndexSplitter.java index 56b28aa5a0c..79fa963cd4e 100644 --- a/lucene/contrib/misc/src/java/org/apache/lucene/index/MultiPassIndexSplitter.java +++ b/lucene/contrib/misc/src/java/org/apache/lucene/index/MultiPassIndexSplitter.java @@ -22,6 +22,7 @@ import java.io.IOException; import java.util.ArrayList; import org.apache.lucene.analysis.core.WhitespaceAnalyzer; +import org.apache.lucene.index.IndexWriter; // javadoc import org.apache.lucene.index.IndexWriterConfig.OpenMode; import org.apache.lucene.store.Directory; import org.apache.lucene.store.FSDirectory; diff --git a/lucene/contrib/misc/src/java/org/apache/lucene/store/DirectIOLinuxDirectory.java b/lucene/contrib/misc/src/java/org/apache/lucene/store/DirectIOLinuxDirectory.java index cb58063c298..93ace13ecbb 100644 --- a/lucene/contrib/misc/src/java/org/apache/lucene/store/DirectIOLinuxDirectory.java +++ b/lucene/contrib/misc/src/java/org/apache/lucene/store/DirectIOLinuxDirectory.java @@ -25,6 +25,9 @@ import java.io.FileOutputStream; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; +import org.apache.lucene.store.Directory; // javadoc +import org.apache.lucene.store.NativeFSLockFactory; // javadoc + /** * An {@link Directory} implementation that uses the * Linux-specific O_DIRECT flag to bypass all OS level diff --git a/lucene/src/java/org/apache/lucene/index/SlowMultiReaderWrapper.java b/lucene/src/java/org/apache/lucene/index/SlowMultiReaderWrapper.java index 49eaf7fa933..77f9dc4a69e 100644 --- a/lucene/src/java/org/apache/lucene/index/SlowMultiReaderWrapper.java +++ b/lucene/src/java/org/apache/lucene/index/SlowMultiReaderWrapper.java @@ -23,6 +23,9 @@ import java.util.ArrayList; import org.apache.lucene.util.Bits; import org.apache.lucene.util.ReaderUtil; +import org.apache.lucene.index.DirectoryReader; // javadoc +import org.apache.lucene.index.MultiReader; // javadoc + /** * This class forces a composite reader (eg a {@link * MultiReader} or {@link DirectoryReader} or any other diff --git a/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyAnalyzer.java b/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyAnalyzer.java index 4ad530ac781..8420a562806 100644 --- a/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyAnalyzer.java +++ b/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyAnalyzer.java @@ -24,6 +24,8 @@ import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.core.KeywordTokenizer; import org.apache.lucene.analysis.Tokenizer; +import org.apache.lucene.collation.CollationKeyAnalyzer; // javadocs + import java.io.Reader; import java.io.IOException; diff --git a/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyFilter.java b/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyFilter.java index c1e48fbbed8..3060a214cfa 100644 --- a/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyFilter.java +++ b/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyFilter.java @@ -26,6 +26,8 @@ import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.tokenattributes.CharTermAttribute; import org.apache.lucene.util.IndexableBinaryStringTools; +import org.apache.lucene.collation.CollationKeyFilter; // javadocs + import java.io.IOException;