Skip to content

Commit d6eebf2

Browse files
committed
chore: IntelliJ auto-formatter
1 parent a3e22b4 commit d6eebf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, Ex
9898
J.Return return_ = (J.Return) method.getBody().getStatements().get(0);
9999
Variable fieldType = ((J.Identifier) return_.getExpression()).getFieldType();
100100
boolean nameMatch = method.getSimpleName().equals(LombokUtils.deriveGetterMethodName(fieldType));
101-
if (nameMatch){
101+
if (nameMatch) {
102102
((Set<Finding>) getCursor().getNearestMessage(FIELDS_TO_DECORATE_KEY))
103103
.add(new Finding(fieldType.getName(), LombokUtils.getAccessLevel(method.getModifiers())));
104104
return null; //delete
@@ -117,7 +117,7 @@ private static class Finding {
117117

118118
@Value
119119
@EqualsAndHashCode(callSuper = false)
120-
static class FieldAnnotator extends JavaIsoVisitor<ExecutionContext>{
120+
static class FieldAnnotator extends JavaIsoVisitor<ExecutionContext> {
121121

122122
Set<Finding> fieldsToDecorate;
123123

0 commit comments

Comments
 (0)