AssertJIsNull
SUGGESTION
Simplification
Summary
Prefer
.isNull()
over.isEqualTo(null)
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertJIsNull")
to the enclosing element.Disable this pattern completely by adding
-Xep:AssertJIsNull:OFF
as compiler argument. Learn more.