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