diff --git a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/resources/AutoCloseableResourceInspectionTest.java b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/resources/AutoCloseableResourceInspectionTest.java index bdb0cc6b4064..eb97fab7cf05 100644 --- a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/resources/AutoCloseableResourceInspectionTest.java +++ b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/resources/AutoCloseableResourceInspectionTest.java @@ -16,9 +16,7 @@ package com.siyeh.ig.resources; import com.intellij.codeInspection.LocalInspectionTool; -import com.intellij.testFramework.LightProjectDescriptor; import com.siyeh.ig.LightInspectionTestCase; -import org.jetbrains.annotations.NotNull; /** * @author Bas Leijdekkers @@ -110,7 +108,7 @@ public class AutoCloseableResourceInspectionTest extends LightInspectionTestCase doTest("import java.util.*;" + "class X {" + " void m(List list) {" + - " final Z f = /*'X.Y' used without 'try'-with-resources statement*/Y::new/**/;" + + " final Z f = /*'Y' used without 'try'-with-resources statement*/Y::new/**/;" + " }" + " class Y implements java.io.Closeable {" + " Y(String s) {}" +