IdentityConversion
WARNING
Simplification
Summary
Avoid or clarify identity conversions
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IdentityConversion")
to the enclosing element.Disable this pattern completely by adding
-Xep:IdentityConversion:OFF
as compiler argument. Learn more.