diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/unusedPublicMethodRefViaSubclass/x/I.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/unusedPublicMethodRefViaSubclass/x/I.java index 243f07787533..b4f5aeae16ac 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/unusedPublicMethodRefViaSubclass/x/I.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/unusedPublicMethodRefViaSubclass/x/I.java @@ -1,18 +1,3 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package x; public interface I { @@ -20,8 +5,9 @@ public interface I { } class XI implements I { - public void ffffff() { - } + public void ffffff() { + } + public void ffffff2() { } } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/unusedPublicMethodRefViaSubclass/x/X.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/unusedPublicMethodRefViaSubclass/x/X.java index 9ecb95cb1cc8..1c8c7e092a54 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/unusedPublicMethodRefViaSubclass/x/X.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/unusedPublicMethodRefViaSubclass/x/X.java @@ -1,18 +1,3 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package x; public class X { diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/AdvHighlightingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/AdvHighlightingTest.java index d38fd2af4dff..9ba68642b658 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/AdvHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/AdvHighlightingTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2014 JetBrains s.r.o. + * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -329,7 +329,6 @@ public class AdvHighlightingTest extends DaemonAnalyzerTestCase { public void testUnusedPublicMethodReferencedViaSubclass() throws Exception { UnusedDeclarationInspectionBase deadCodeInspection = new UnusedDeclarationInspectionBase(true); enableInspectionTool(deadCodeInspection); - //String ref = getTestDataPath() + BASE_PATH + "/unusedPublicMethodRefViaSubclass/x/X.java"; allowTreeAccessForAllFiles(); doTest(BASE_PATH + "/unusedPublicMethodRefViaSubclass/x/I.java", BASE_PATH + "/unusedPublicMethodRefViaSubclass", true, false);