We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44b7aa6 commit 73e78a7Copy full SHA for 73e78a7
src/main/java/org/openrewrite/java/migrate/lombok/LombokUtils.java
@@ -161,10 +161,9 @@ public static boolean isEffectivelySetter(J.MethodDeclaration method) {
161
162
return
163
// assigned value is exactly the parameter
164
- assignment.getAssignment().toString().equals(paramName) // type of parameter and field have to match
165
- &&
166
- param.getType().equals(fieldAccess.getType());
167
- && param.getType().equals(fieldAccess.getType());
+ assignment.getAssignment().toString().equals(paramName) &&
+ param.getType().equals(fieldAccess.getType()) // type of parameter and field have to match
+ ;
168
169
}
170
0 commit comments