You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: java/src/test/java/eu/solven/cleanthat/engine/java/refactorer/cases/do_not_format_me/TestRemoveExplicitCallToSuperCases.java
+58-3
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,8 @@ public Post() {
90
90
}
91
91
}
92
92
93
-
@CompareInnerClasses
93
+
// `this();` can be removed for equivalent behavior only because `Pre()` exists but is a noop
94
+
@UnmodifiedInnerClass
94
95
publicstaticclassThisEmptyInConstructor {
95
96
publicclassPre {
96
97
@@ -103,12 +104,66 @@ public Pre(String s) {
103
104
s.toString();
104
105
}
105
106
}
107
+
}
106
108
107
-
publicclassPost {
109
+
// Dropping `this` would lead to compilation error as `s` in final
Copy file name to clipboardexpand all lines: java/src/test/java/eu/solven/cleanthat/engine/java/refactorer/cases/do_not_format_me/TestUnnecessaryModifierCases.java
0 commit comments