From 037795d394ef75344846d0fd65ff046f44dd8284 Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Wed, 22 Jun 2016 21:31:58 +0300 Subject: [PATCH] suppress inspections on their testdata in injection --- .../siyeh/ig/bugs/CastToIncompatibleInterfaceInspectionTest.java | 1 + .../ig/bugs/EqualsBetweenInconvertibleTypesInspectionTest.java | 1 + .../siyeh/ig/bugs/OptionalGetWithoutIsPresentInspectionTest.java | 1 + 3 files changed, 3 insertions(+) diff --git a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/CastToIncompatibleInterfaceInspectionTest.java b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/CastToIncompatibleInterfaceInspectionTest.java index 202c796394ba..81d05215e7f8 100644 --- a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/CastToIncompatibleInterfaceInspectionTest.java +++ b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/CastToIncompatibleInterfaceInspectionTest.java @@ -21,6 +21,7 @@ import com.siyeh.ig.LightInspectionTestCase; /** * @author Bas Leijdekkers */ +@SuppressWarnings("CastToIncompatibleInterface") public class CastToIncompatibleInterfaceInspectionTest extends LightInspectionTestCase { public void testSimple() { diff --git a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/EqualsBetweenInconvertibleTypesInspectionTest.java b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/EqualsBetweenInconvertibleTypesInspectionTest.java index d3b2f81180ce..9f6383f06922 100644 --- a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/EqualsBetweenInconvertibleTypesInspectionTest.java +++ b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/EqualsBetweenInconvertibleTypesInspectionTest.java @@ -21,6 +21,7 @@ import com.siyeh.ig.LightInspectionTestCase; /** * @author Bas Leijdekkers */ +@SuppressWarnings("EqualsBetweenInconvertibleTypes") public class EqualsBetweenInconvertibleTypesInspectionTest extends LightInspectionTestCase { public void testSimple() { diff --git a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/OptionalGetWithoutIsPresentInspectionTest.java b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/OptionalGetWithoutIsPresentInspectionTest.java index ae19a64f0f8b..99828cde1f3f 100644 --- a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/OptionalGetWithoutIsPresentInspectionTest.java +++ b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/bugs/OptionalGetWithoutIsPresentInspectionTest.java @@ -22,6 +22,7 @@ import org.jetbrains.annotations.Nullable; /** * @author Bas Leijdekkers */ +@SuppressWarnings("OptionalGetWithoutIsPresent") public class OptionalGetWithoutIsPresentInspectionTest extends LightInspectionTestCase { public void testSimple() {