From 73e78a7a8315d3cb0328372f77fc6c08f5f69ef8 Mon Sep 17 00:00:00 2001 From: timo <1398557+timo-a@users.noreply.github.com> Date: Sat, 21 Dec 2024 23:08:55 +0100 Subject: [PATCH] fix build --- .../org/openrewrite/java/migrate/lombok/LombokUtils.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/openrewrite/java/migrate/lombok/LombokUtils.java b/src/main/java/org/openrewrite/java/migrate/lombok/LombokUtils.java index 74e967228..38db56719 100644 --- a/src/main/java/org/openrewrite/java/migrate/lombok/LombokUtils.java +++ b/src/main/java/org/openrewrite/java/migrate/lombok/LombokUtils.java @@ -161,10 +161,9 @@ public static boolean isEffectivelySetter(J.MethodDeclaration method) { return // assigned value is exactly the parameter - assignment.getAssignment().toString().equals(paramName) // type of parameter and field have to match - && - param.getType().equals(fieldAccess.getType()); - && param.getType().equals(fieldAccess.getType()); + assignment.getAssignment().toString().equals(paramName) && + param.getType().equals(fieldAccess.getType()) // type of parameter and field have to match + ; }