From 52fbd34849afcc6865e36263d64e6c98dc98b711 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Mon, 7 Mar 2011 00:55:32 +0000 Subject: [PATCH] clear java 1.5-only javadocs warnings git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1078639 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/lucene/store/WindowsDirectory.java | 2 ++ .../org/apache/lucene/search/SlowCollatedTermRangeFilter.java | 3 +++ .../org/apache/lucene/search/SlowCollatedTermRangeQuery.java | 2 ++ .../org/apache/lucene/collation/CollationAttributeFactory.java | 2 +- .../apache/lucene/collation/ICUCollationAttributeFactory.java | 3 ++- .../org/apache/lucene/collation/ICUCollationKeyAnalyzer.java | 1 + 6 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lucene/contrib/misc/src/java/org/apache/lucene/store/WindowsDirectory.java b/lucene/contrib/misc/src/java/org/apache/lucene/store/WindowsDirectory.java index f1c3f74a117..a4c6301ee34 100644 --- a/lucene/contrib/misc/src/java/org/apache/lucene/store/WindowsDirectory.java +++ b/lucene/contrib/misc/src/java/org/apache/lucene/store/WindowsDirectory.java @@ -19,6 +19,8 @@ package org.apache.lucene.store; import java.io.File; import java.io.IOException; +import org.apache.lucene.store.Directory; // javadoc +import org.apache.lucene.store.NativeFSLockFactory; // javadoc /** * Native {@link Directory} implementation for Microsoft Windows. diff --git a/lucene/contrib/queries/src/java/org/apache/lucene/search/SlowCollatedTermRangeFilter.java b/lucene/contrib/queries/src/java/org/apache/lucene/search/SlowCollatedTermRangeFilter.java index fd2774c7e67..2d67d0b1102 100644 --- a/lucene/contrib/queries/src/java/org/apache/lucene/search/SlowCollatedTermRangeFilter.java +++ b/lucene/contrib/queries/src/java/org/apache/lucene/search/SlowCollatedTermRangeFilter.java @@ -19,6 +19,9 @@ package org.apache.lucene.search; import java.text.Collator; +import org.apache.lucene.search.NumericRangeFilter; // javadoc +import org.apache.lucene.search.FieldCacheRangeFilter; // javadoc + /** * A Filter that restricts search results to a range of term * values in a given field. diff --git a/lucene/contrib/queries/src/java/org/apache/lucene/search/SlowCollatedTermRangeQuery.java b/lucene/contrib/queries/src/java/org/apache/lucene/search/SlowCollatedTermRangeQuery.java index 8bda65afe88..59db72bbe8b 100644 --- a/lucene/contrib/queries/src/java/org/apache/lucene/search/SlowCollatedTermRangeQuery.java +++ b/lucene/contrib/queries/src/java/org/apache/lucene/search/SlowCollatedTermRangeQuery.java @@ -22,6 +22,8 @@ import java.text.Collator; import org.apache.lucene.index.Terms; import org.apache.lucene.index.TermsEnum; +import org.apache.lucene.search.MultiTermQuery; // javadoc +import org.apache.lucene.search.NumericRangeQuery; // javadoc import org.apache.lucene.util.AttributeSource; import org.apache.lucene.util.ToStringUtils; diff --git a/modules/analysis/common/src/java/org/apache/lucene/collation/CollationAttributeFactory.java b/modules/analysis/common/src/java/org/apache/lucene/collation/CollationAttributeFactory.java index 9576dbbc996..ae294c83666 100644 --- a/modules/analysis/common/src/java/org/apache/lucene/collation/CollationAttributeFactory.java +++ b/modules/analysis/common/src/java/org/apache/lucene/collation/CollationAttributeFactory.java @@ -74,7 +74,7 @@ public class CollationAttributeFactory extends AttributeSource.AttributeFactory /** * Create a CollationAttributeFactory, using - * {@link AttributeSource.AttributeFactory#DEFAULT_ATTRIBUTE_FACTORY} as the + * {@link org.apache.lucene.util.AttributeSource.AttributeFactory#DEFAULT_ATTRIBUTE_FACTORY} as the * factory for all other attributes. * @param collator CollationKey generator */ diff --git a/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationAttributeFactory.java b/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationAttributeFactory.java index 6209ce4e5f2..1901daf0558 100644 --- a/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationAttributeFactory.java +++ b/modules/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationAttributeFactory.java @@ -21,6 +21,7 @@ import org.apache.lucene.collation.tokenattributes.ICUCollatedTermAttributeImpl; import org.apache.lucene.util.Attribute; import org.apache.lucene.util.AttributeImpl; import org.apache.lucene.util.AttributeSource; +import org.apache.lucene.collation.CollationAttributeFactory; // javadoc import com.ibm.icu.text.Collator; @@ -67,7 +68,7 @@ public class ICUCollationAttributeFactory extends AttributeSource.AttributeFacto /** * Create an ICUCollationAttributeFactory, using - * {@link AttributeSource.AttributeFactory#DEFAULT_ATTRIBUTE_FACTORY} as the + * {@link org.apache.lucene.util.AttributeSource.AttributeFactory#DEFAULT_ATTRIBUTE_FACTORY} as the * factory for all other attributes. * @param collator CollationKey generator */ 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 040e009afd5..3aee5d20e70 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 @@ -22,6 +22,7 @@ import com.ibm.icu.text.Collator; import org.apache.lucene.analysis.core.KeywordTokenizer; import org.apache.lucene.analysis.util.ReusableAnalyzerBase; import org.apache.lucene.collation.CollationKeyAnalyzer; // javadocs +import org.apache.lucene.util.IndexableBinaryStringTools; // javadocs import org.apache.lucene.util.Version; import java.io.Reader;