This marks a couple of constants in the `DecayFunctionBuilder` as final. They are written in CONSTANT_CASE and used as constants but not final which is a little confusing and might lead to sneaky bugs.
This commit is contained in:
parent
44827e577e
commit
1abecad21b
|
@ -65,8 +65,8 @@ public abstract class DecayFunctionBuilder<DFB extends DecayFunctionBuilder<DFB>
|
||||||
protected static final String DECAY = "decay";
|
protected static final String DECAY = "decay";
|
||||||
protected static final String OFFSET = "offset";
|
protected static final String OFFSET = "offset";
|
||||||
|
|
||||||
public static double DEFAULT_DECAY = 0.5;
|
public static final double DEFAULT_DECAY = 0.5;
|
||||||
public static MultiValueMode DEFAULT_MULTI_VALUE_MODE = MultiValueMode.MIN;
|
public static final MultiValueMode DEFAULT_MULTI_VALUE_MODE = MultiValueMode.MIN;
|
||||||
|
|
||||||
private final String fieldName;
|
private final String fieldName;
|
||||||
//parsing of origin, scale, offset and decay depends on the field type, delayed to the data node that has the mapping for it
|
//parsing of origin, scale, offset and decay depends on the field type, delayed to the data node that has the mapping for it
|
||||||
|
|
Loading…
Reference in New Issue