From d69326408cebdebab189fbb5588ce52f46927c6b Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Tue, 7 Feb 2023 11:05:39 +0100 Subject: [PATCH] Fix javadoc references. --- .../core/src/java/org/apache/lucene/document/DoubleField.java | 2 +- lucene/core/src/java/org/apache/lucene/document/FloatField.java | 2 +- lucene/core/src/java/org/apache/lucene/document/LongField.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lucene/core/src/java/org/apache/lucene/document/DoubleField.java b/lucene/core/src/java/org/apache/lucene/document/DoubleField.java index 911d7c42a7f..182fdc2a6bf 100644 --- a/lucene/core/src/java/org/apache/lucene/document/DoubleField.java +++ b/lucene/core/src/java/org/apache/lucene/document/DoubleField.java @@ -65,7 +65,7 @@ public final class DoubleField extends Field { * @param name field name * @param value the double value * @throws IllegalArgumentException if the field name or value is null. - * @deprecated Use {@link #DoubleField(String, int, Field.Store)} with {@link Field.Store#NO} + * @deprecated Use {@link #DoubleField(String, double, Field.Store)} with {@link Field.Store#NO} * instead. */ @Deprecated diff --git a/lucene/core/src/java/org/apache/lucene/document/FloatField.java b/lucene/core/src/java/org/apache/lucene/document/FloatField.java index eb1d7d400af..de554fe7854 100644 --- a/lucene/core/src/java/org/apache/lucene/document/FloatField.java +++ b/lucene/core/src/java/org/apache/lucene/document/FloatField.java @@ -65,7 +65,7 @@ public final class FloatField extends Field { * @param name field name * @param value the float value * @throws IllegalArgumentException if the field name or value is null. - * @deprecated Use {@link #FloatField(String, int, Field.Store)} with {@link Field.Store#NO} + * @deprecated Use {@link #FloatField(String, float, Field.Store)} with {@link Field.Store#NO} * instead. */ @Deprecated diff --git a/lucene/core/src/java/org/apache/lucene/document/LongField.java b/lucene/core/src/java/org/apache/lucene/document/LongField.java index aeb6f3ec6f6..39ab8a1d920 100644 --- a/lucene/core/src/java/org/apache/lucene/document/LongField.java +++ b/lucene/core/src/java/org/apache/lucene/document/LongField.java @@ -70,7 +70,7 @@ public final class LongField extends Field { * @param name field name * @param value the long value * @throws IllegalArgumentException if the field name or value is null. - * @deprecated Use {@link #LongField(String, int, Field.Store)} with {@link Field.Store#NO} + * @deprecated Use {@link #LongField(String, long, Field.Store)} with {@link Field.Store#NO} * instead. */ @Deprecated