Rename constructor parameter name

This commit is contained in:
Shai Erera 2016-12-14 13:49:42 +02:00
parent 85582dabe4
commit 22d9af41a4
1 changed files with 4 additions and 4 deletions

View File

@ -125,8 +125,8 @@ public abstract class DocValuesStats<T> {
/** Holds DocValues statistics for a numeric field storing {@code long} values. */
public static final class LongDocValuesStats extends NumericDocValuesStats<Long> {
public LongDocValuesStats(String description) {
super(description, Long.MAX_VALUE, Long.MIN_VALUE);
public LongDocValuesStats(String field) {
super(field, Long.MAX_VALUE, Long.MIN_VALUE);
}
@Override
@ -145,8 +145,8 @@ public abstract class DocValuesStats<T> {
/** Holds DocValues statistics for a numeric field storing {@code double} values. */
public static final class DoubleDocValuesStats extends NumericDocValuesStats<Double> {
public DoubleDocValuesStats(String description) {
super(description, Double.MAX_VALUE, Double.MIN_VALUE);
public DoubleDocValuesStats(String field) {
super(field, Double.MAX_VALUE, Double.MIN_VALUE);
}
@Override