File tree 3 files changed +3
-3
lines changed
src/main/java/org/elasticsearch
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ interface Factory<T extends Custom> {
92
92
}
93
93
}
94
94
95
- public static Map <String , Custom .Factory > customFactories = new HashMap <>();
95
+ private final static Map <String , Custom .Factory > customFactories = new HashMap <>();
96
96
97
97
/**
98
98
* Register a custom index meta data factory. Make sure to call it from a static block.
Original file line number Diff line number Diff line change 41
41
public interface IndexFieldData <FD extends AtomicFieldData > extends IndexComponent {
42
42
43
43
public static class CommonSettings {
44
- public static String SETTING_MEMORY_STORAGE_HINT = "memory_storage_hint" ;
44
+ public static final String SETTING_MEMORY_STORAGE_HINT = "memory_storage_hint" ;
45
45
46
46
public enum MemoryStorageFormat {
47
47
ORDINALS , PACKED , PAGED ;
Original file line number Diff line number Diff line change 31
31
*/
32
32
public abstract class BucketCollector implements ReaderContextAware {
33
33
34
- public static BucketCollector NO_OP_COLLECTOR = new BucketCollector () {
34
+ public final static BucketCollector NO_OP_COLLECTOR = new BucketCollector () {
35
35
36
36
@ Override
37
37
public void collect (int docId , long bucketOrdinal ) throws IOException {
You can’t perform that action at this time.
0 commit comments