From c88c0f8485bfe4238bd858cfed27bdda42d6992f Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Wed, 4 Oct 2017 08:45:13 +0200 Subject: [PATCH] IG: fix test data --- .../pointless_null_check/PointlessNullCheck.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/controlflow/pointless_null_check/PointlessNullCheck.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/controlflow/pointless_null_check/PointlessNullCheck.java index a15d3304499b..422ccf785a19 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/controlflow/pointless_null_check/PointlessNullCheck.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/controlflow/pointless_null_check/PointlessNullCheck.java @@ -26,13 +26,13 @@ public class PointlessNullCheck { String arg1 = "foo"; public void testMethods(Object obj, Object obj1, Object obj2) { - if(obj != null && check(obj)) { + if(obj != null && check(obj)) { System.out.println("ok"); } - if(obj1 != null && obj2 != null && check1(obj1, obj2)) { + if(obj1 != null && obj2 != null && check1(obj1, obj2)) { System.out.println("ok"); } - if(obj1 != null && obj2 != null && check2(obj1, obj2)) { + if(obj1 != null && obj2 != null && check2(obj1, obj2)) { System.out.println("ok"); } if(obj != null && check1(obj, obj.toString())) {