Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider committed Jul 16, 2024
1 parent bd61adf commit c29138f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, Ex
Tree.randomId(),
Space.SINGLE_SPACE,
Markers.EMPTY,
Collections.singletonList(nullable.getTree().withPrefix(Space.SINGLE_SPACE)),
Collections.singletonList(nullable.getTree().withPrefix(Space.EMPTY)),
m2.getReturnTypeExpression()
));
m2 = autoFormat(m2, m2.getReturnTypeExpression(), ctx, getCursor().getParentOrThrow());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public String test() {
"""
import org.openrewrite.internal.lang.Nullable;
class Test {
public @Nullable String test() {
}
}
Expand Down

0 comments on commit c29138f

Please sign in to comment.