Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
timo-a committed Jan 1, 2025
1 parent 44b7aa6 commit 73e78a7
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
;

}

Expand Down

0 comments on commit 73e78a7

Please sign in to comment.