Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Mar 30, 2023
1 parent 143393f commit 2507a85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ public static boolean methodExistsInEnclosingClass(CharSequence methodName, Visi
}

/**
* Returns the {@link MethodTree} from which the control flow would exit if there would be a
* {@code return} statement at the given {@link VisitorState}'s current {@link
* VisitorState#getPath() path}.
* Returns the {@link MethodTree} from which control flow would exit if there would be a {@code
* return} statement at the given {@link VisitorState}'s current {@link VisitorState#getPath()
* path}.
*
* @param state The {@link VisitorState} from which to derive the AST location of interest.
* @return A {@link MethodTree}, unless the {@link VisitorState}'s path does not point to an AST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void identification() {
" }",
" }",
"",
" Supplier<String> redundantAssignmentInLambda() {",
" Supplier<String> redundantAssignmentInsideLambda() {",
" return () -> {",
" // BUG: Diagnostic contains:",
" String variable = toString();",
Expand Down

0 comments on commit 2507a85

Please sign in to comment.