Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Nov 19, 2022
1 parent cde66ea commit defbb27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* A collection of Error Prone utility methods for dealing with the source code representation of
* AST nodes.
*/
// XXX: Can we locate this code in a better place? Maybe contribute it upstream?
public final class SourceCode {
/** The complement of {@link CharMatcher#whitespace()}. */
private static final CharMatcher NON_WHITESPACE_MATCHER = CharMatcher.whitespace().negate();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ void deleteWithTrailingWhitespaceMethods() {
}

/**
* Uses {@link SourceCode#deleteWithTrailingWhitespace(Tree, VisitorState)} to suggest the
* deletion of annotations and methods with a name containing {@value DELETION_MARKER}.
* A {@link BugChecker} that uses {@link SourceCode#deleteWithTrailingWhitespace(Tree,
* VisitorState)} to suggest the deletion of annotations and methods with a name containing
* {@value DELETION_MARKER}.
*/
@BugPattern(severity = ERROR, summary = "Interacts with `SourceCode` for testing purposes")
public static final class TestChecker extends BugChecker
Expand Down

0 comments on commit defbb27

Please sign in to comment.