From 5e114029b0ea8580aa5102cc68c1386aa36ba9ed Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Thu, 1 Oct 2009 21:15:45 +0000 Subject: [PATCH] LUCENE-1857: Missed one valueOf conversion git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820795 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/document/NumericField.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/lucene/document/NumericField.java b/src/java/org/apache/lucene/document/NumericField.java index abfad527bfb..782c3af104e 100644 --- a/src/java/org/apache/lucene/document/NumericField.java +++ b/src/java/org/apache/lucene/document/NumericField.java @@ -240,7 +240,7 @@ public final class NumericField extends AbstractField { */ public NumericField setLongValue(final long value) { tokenStream.setLongValue(value); - fieldsData = new Long(value); + fieldsData = Long.valueOf(value); return this; }