File tree 1 file changed +10
-10
lines changed
src/main/java/net/revelc/code/formatter/java
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 38
38
*/
39
39
public class JavaFormatter extends AbstractCacheableFormatter implements Formatter {
40
40
41
+ /** The formatter. */
42
+ private CodeFormatter formatter ;
43
+
44
+ /** The exclusion pattern. */
45
+ private Pattern exclusionPattern ;
46
+
47
+ /** The configuration options */
48
+ private Map <String , String > options ;
49
+
41
50
@ Override
42
51
public boolean equals (Object o ) {
43
52
if (this == o )
@@ -46,23 +55,14 @@ public boolean equals(Object o) {
46
55
return false ;
47
56
JavaFormatter that = (JavaFormatter ) o ;
48
57
return Objects .equals (formatter , that .formatter ) && Objects .equals (exclusionPattern , that .exclusionPattern )
49
- && Objects .equals (options , that .options );
58
+ && Objects .equals (options , that .options );
50
59
}
51
60
52
61
@ Override
53
62
public int hashCode () {
54
63
return Objects .hash (formatter , exclusionPattern , options );
55
64
}
56
65
57
- /** The formatter. */
58
- private CodeFormatter formatter ;
59
-
60
- /** The exclusion pattern. */
61
- private Pattern exclusionPattern ;
62
-
63
- /** The configuration options */
64
- private Map <String , String > options ;
65
-
66
66
@ Override
67
67
public void init (final Map <String , String > options , final ConfigurationSource cfg ) {
68
68
super .initCfg (cfg );
You can’t perform that action at this time.
0 commit comments