Skip to content

Commit f06bf29

Browse files
Update src/main/java/org/openrewrite/java/migrate/joda/JodaTimeVisitor.java
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7a1a854 commit f06bf29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/openrewrite/java/migrate/joda/JodaTimeVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public Javadoc visitReference(Javadoc.Reference reference, ExecutionContext ctx)
120120
.withReturnType(returnType)
121121
.withParameterTypes(m.getMethodType().getParameterTypes().stream().map(p -> visitTypeParameter(p, ctx)).collect(Collectors.toList()));
122122

123-
J.MethodDeclaration methodDeclaration = m
123+
return m
124124
.withReturnTypeExpression(returnExpr)
125125
.withMethodType(methodType);
126126

0 commit comments

Comments
 (0)