mirror of https://github.com/apache/lucene.git
LUCENE-1857: Missed one valueOf conversion
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820795 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7ce333d639
commit
5e114029b0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue