Skip to content

Commit

Permalink
Javadoc suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Jun 28, 2022
1 parent cc8fa62 commit 172f4d4
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@
import com.sun.source.tree.MethodInvocationTree;

/**
* A {@link BugChecker} which flags AssertJ {@code isEqualTo(null)} checks for simplification. <br>
* This cannot be done using a refaster template, as refaster is unable to match the abstraction
* layers in AssertJ
* A {@link BugChecker} which flags AssertJ {@code isEqualTo(null)} checks for simplification.
*
* <p>Example: <code>assertThat("foo").isEqualTo(null)</code> will not be matched by refaster.
* <p>This cannot be done by using only Refaster templates, as Refaster is not able to match *all*
* {@code AbstractAssert} subtypes correctly.
*/
@AutoService(BugChecker.class)
@BugPattern(
Expand Down

0 comments on commit 172f4d4

Please sign in to comment.