From ffd4a1d0ab3f70e4c9886f31bb7b77ee48ba0f53 Mon Sep 17 00:00:00 2001 From: "Anna.Kozlova" Date: Thu, 14 Apr 2016 12:26:36 +0200 Subject: [PATCH] fix testdata --- .../ig/resources/AutoCloseableResourceInspectionTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {}" +