mirror of https://github.com/apache/lucene.git
LUCENE-3795: minor cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1292659 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
77fbe1ae53
commit
0646aec69f
|
@ -17,9 +17,7 @@
|
||||||
|
|
||||||
package org.apache.lucene.spatial.strategy.util;
|
package org.apache.lucene.spatial.strategy.util;
|
||||||
|
|
||||||
import org.apache.lucene.analysis.NumericTokenStream;
|
|
||||||
import org.apache.lucene.document.DoubleField;
|
import org.apache.lucene.document.DoubleField;
|
||||||
import org.apache.lucene.document.Field;
|
|
||||||
import org.apache.lucene.document.FieldType;
|
import org.apache.lucene.document.FieldType;
|
||||||
import org.apache.lucene.index.IndexableField;
|
import org.apache.lucene.index.IndexableField;
|
||||||
|
|
||||||
|
@ -46,6 +44,5 @@ public class NumericFieldInfo {
|
||||||
fieldType.setIndexed(index);
|
fieldType.setIndexed(index);
|
||||||
fieldType.setNumericPrecisionStep(precisionStep);
|
fieldType.setNumericPrecisionStep(precisionStep);
|
||||||
return new DoubleField(name,v,fieldType);
|
return new DoubleField(name,v,fieldType);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue