File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/src/main/java/com/diffplug/spotless/json Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2023 DiffPlug
2
+ * Copyright 2023-2024 DiffPlug
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
19
19
import java .util .Collections ;
20
20
import java .util .LinkedHashMap ;
21
21
import java .util .Map ;
22
+ import java .util .TreeMap ;
22
23
23
24
/**
24
25
* A DTO holding the basic for Jackson-based formatters
@@ -36,7 +37,7 @@ public class JacksonConfig implements Serializable {
36
37
DEFAULT_FEATURE_TOGGLES = defaultFeatureToggles ;
37
38
}
38
39
39
- protected Map <String , Boolean > featureToToggle = new LinkedHashMap <>(DEFAULT_FEATURE_TOGGLES );
40
+ protected Map <String , Boolean > featureToToggle = new TreeMap <>(DEFAULT_FEATURE_TOGGLES );
40
41
41
42
public Map <String , Boolean > getFeatureToToggle () {
42
43
return Collections .unmodifiableMap (featureToToggle );
You can’t perform that action at this time.
0 commit comments