diff options
Diffstat (limited to 'plugins/InspectionGadgets/src/inspectionDescriptions/PointlessNullCheck.html')
-rw-r--r-- | plugins/InspectionGadgets/src/inspectionDescriptions/PointlessNullCheck.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessNullCheck.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessNullCheck.html index e69e0d11d5b7..8d94468a2871 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessNullCheck.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessNullCheck.html @@ -2,7 +2,7 @@ <body> <p>Reports a <b>null</b> check followed by an <b>instanceof</b> check. Since the <b>instanceof</b> operator always returns <b>false</b> for <b>null</b>, -there is no need to also have a <b>null</b> check. </p> +there is no need to have an additional <b>null</b> check. </p> <p>Here is an example of a violation: </p> <pre><code> if (x != null && x instanceof String) { ... }</code></pre> <p>The quickfix changes this code to:</p> |