Skip to content

Commit 73e78a7

Browse files
committed
fix build
1 parent 44b7aa6 commit 73e78a7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/org/openrewrite/java/migrate/lombok/LombokUtils.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,9 @@ public static boolean isEffectivelySetter(J.MethodDeclaration method) {
161161

162162
return
163163
// 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());
164+
assignment.getAssignment().toString().equals(paramName) &&
165+
param.getType().equals(fieldAccess.getType()) // type of parameter and field have to match
166+
;
168167

169168
}
170169

0 commit comments

Comments
 (0)