From d4fd1fee2227316ad397592206b70ee4b7185b0a Mon Sep 17 00:00:00 2001 From: Peter Gromov Date: Fri, 25 Sep 2009 23:28:40 +0400 Subject: [PATCH] minor --- .../com/intellij/codeInsight/navigation/GotoImplementationHandler.java | 2 +- .../src/com/intellij/testFramework/fixtures/TempDirTestFixture.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java b/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java index 2483afa186..efb313e9b3 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java @@ -11,7 +11,7 @@ public class GotoImplementationHandler extends GotoTargetHandler { return "navigation.goto.implementation"; } - protected Pair getSourceAndTargetElements(Editor editor, PsiFile file) { + public Pair getSourceAndTargetElements(Editor editor, PsiFile file) { int offset = editor.getCaretModel().getOffset(); PsiElement source = TargetElementUtilBase.getInstance().findTargetElement(editor, ImplementationSearcher.getFlags(), offset); PsiElement[] target = new ImplementationSearcher().searchImplementations(editor, source, offset); diff --git a/platform/testFramework/src/com/intellij/testFramework/fixtures/TempDirTestFixture.java b/platform/testFramework/src/com/intellij/testFramework/fixtures/TempDirTestFixture.java index 150046afa7..8d9a5ef96c 100644 --- a/platform/testFramework/src/com/intellij/testFramework/fixtures/TempDirTestFixture.java +++ b/platform/testFramework/src/com/intellij/testFramework/fixtures/TempDirTestFixture.java @@ -19,7 +19,6 @@ package com.intellij.testFramework.fixtures; import com.intellij.openapi.vfs.VirtualFile; import org.jetbrains.annotations.NonNls; import org.jetbrains.annotations.NotNull; -import org.jetbrains.annotations.Nullable; import java.io.IOException; @@ -34,7 +33,6 @@ public interface TempDirTestFixture extends IdeaTestFixture { String getTempDirPath(); - @Nullable VirtualFile getFile(@NonNls String path); @NotNull VirtualFile createFile(final String name); -- 2.11.4.GIT