Code Inspection: Null comparison
Reports comparisons with NULL that can be replaced with IS NULL or IS NOT NULL operators.
Example (Microsoft SQL Server):
NULL = NULLcan be replaced with
IS NULL, the
NULL != NULLcomparison with
IS NOT NULL. To do this replacement, you can use Use IS NULL operator or Use IS NOT NULL operator quick-fixes.
Suppress an inspection in the editor
Position the caret at the highlighted line and press Alt+Enter or click .
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.