Java
Negated equality expression
Warning
New
Last modified: 03 December 2024Reports equality expressions which are negated by a prefix expression.
Such expressions can be simplified using the !=
operator.
Example:
!(i == 1)
After the quick-fix is applied:
i != 1
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
NegatedEqualityExpression
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |
Thanks for your feedback!
Was this page helpful?