From 8512e6403b678f2452956b006b67a612c0a849dd Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Fri, 29 Mar 2013 15:17:06 +0100 Subject: [PATCH] wording --- .../src/inspectionDescriptions/PointlessNullCheck.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@

Reports a null check followed by an instanceof check. Since the instanceof operator always returns false for null, -there is no need to also have a null check.

+there is no need to have an additional null check.

Here is an example of a violation:

    if (x != null && x instanceof String) { ... }

The quickfix changes this code to: