From 67fecffee5a840462a24782a98362f435df78cb7 Mon Sep 17 00:00:00 2001 From: "Chris M. Hostetter" Date: Sat, 19 Mar 2011 01:51:29 +0000 Subject: [PATCH] clean up javadoc warnings git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1083124 13f79535-47bb-0310-9956-ffa450edef68 --- solr/build.xml | 2 ++ .../src/common/org/apache/solr/common/util/FileUtils.java | 4 +--- solr/src/java/org/apache/solr/schema/FieldType.java | 8 ++++---- solr/src/java/org/apache/solr/schema/SchemaField.java | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/solr/build.xml b/solr/build.xml index 0f15a380b2f..83dbbd10a69 100644 --- a/solr/build.xml +++ b/solr/build.xml @@ -186,6 +186,7 @@ + @@ -197,6 +198,7 @@ + diff --git a/solr/src/common/org/apache/solr/common/util/FileUtils.java b/solr/src/common/org/apache/solr/common/util/FileUtils.java index 3ca2c28e7b2..bf4026ab3ee 100644 --- a/solr/src/common/org/apache/solr/common/util/FileUtils.java +++ b/solr/src/common/org/apache/solr/common/util/FileUtils.java @@ -54,9 +54,7 @@ public class FileUtils { } /** - * Copied from Lucene's {@link org.apache.lucene.store.FSDirectory#sync(String)} - * - * @see org.apache.lucene.store.FSDirectory#sync(String) + * Copied from Lucene's FSDirectory.sync(String) * * @param fullFile the File to be synced to disk * @throws IOException if the file could not be synced diff --git a/solr/src/java/org/apache/solr/schema/FieldType.java b/solr/src/java/org/apache/solr/schema/FieldType.java index d4dc8bc952e..2c2e3e0d221 100644 --- a/solr/src/java/org/apache/solr/schema/FieldType.java +++ b/solr/src/java/org/apache/solr/schema/FieldType.java @@ -58,7 +58,7 @@ public abstract class FieldType extends FieldProperties { /** * The default poly field separator. * - * @see #createFields(SchemaField, String, float) + * @see #createFields(SchemaField, Object, float) * @see #isPolyField() */ public static final String POLY_FIELD_SEPARATOR = "___"; @@ -85,9 +85,9 @@ public abstract class FieldType extends FieldProperties { } /** - * A "polyField" is a FieldType that can produce more than one Fieldable instance for a single value, via the {@link #createFields(org.apache.solr.schema.SchemaField, String, float)} method. This is useful + * A "polyField" is a FieldType that can produce more than one Fieldable instance for a single value, via the {@link #createFields(org.apache.solr.schema.SchemaField, Object, float)} method. This is useful * when hiding the implementation details of a field from the Solr end user. For instance, a spatial point may be represented by multiple different fields. - * @return true if the {@link #createFields(org.apache.solr.schema.SchemaField, String, float)} method may return more than one field + * @return true if the {@link #createFields(org.apache.solr.schema.SchemaField, Object, float)} method may return more than one field */ public boolean isPolyField(){ return false; @@ -273,7 +273,7 @@ public abstract class FieldType extends FieldProperties { /** * Given a {@link org.apache.solr.schema.SchemaField}, create one or more {@link org.apache.lucene.document.Fieldable} instances * @param field the {@link org.apache.solr.schema.SchemaField} - * @param externalVal The value to add to the field + * @param value The value to add to the field * @param boost The boost to apply * @return An array of {@link org.apache.lucene.document.Fieldable} * diff --git a/solr/src/java/org/apache/solr/schema/SchemaField.java b/solr/src/java/org/apache/solr/schema/SchemaField.java index 5829776a486..41ad8e051c1 100644 --- a/solr/src/java/org/apache/solr/schema/SchemaField.java +++ b/solr/src/java/org/apache/solr/schema/SchemaField.java @@ -102,7 +102,7 @@ public final class SchemaField extends FieldProperties { } /** - * If true, then use {@link #createFields(String, float)}, else use {@link #createField} to save an extra allocation + * If true, then use {@link #createFields(Object, float)}, else use {@link #createField} to save an extra allocation * @return true if this field is a poly field */ public boolean isPolyField(){