From fa3b01406611a9df4bfeca2e1872489baf9f6b4d Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Thu, 13 Mar 2014 17:23:29 +0100 Subject: [PATCH] CR-IU-637 remove fileType parameter --- .../src/com/intellij/debugger/engine/DebuggerUtils.java | 2 +- .../src/com/intellij/debugger/engine/JVMDebugProvider.java | 2 +- .../src/com/intellij/debugger/engine/JavaDebugAware.java | 7 +++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/java/debugger/openapi/src/com/intellij/debugger/engine/DebuggerUtils.java b/java/debugger/openapi/src/com/intellij/debugger/engine/DebuggerUtils.java index 6c14281a494b..42f9d0fcc575 100644 --- a/java/debugger/openapi/src/com/intellij/debugger/engine/DebuggerUtils.java +++ b/java/debugger/openapi/src/com/intellij/debugger/engine/DebuggerUtils.java @@ -602,7 +602,7 @@ public abstract class DebuggerUtils { } for (JavaDebugAware provider : JavaDebugAware.EP_NAME.getExtensions()) { - if (breakpointAware ? provider.isBreakpointAware(file, fileType) : provider.isActionAware(file, fileType)) { + if (breakpointAware ? provider.isBreakpointAware(file) : provider.isActionAware(file)) { return true; } } diff --git a/java/debugger/openapi/src/com/intellij/debugger/engine/JVMDebugProvider.java b/java/debugger/openapi/src/com/intellij/debugger/engine/JVMDebugProvider.java index b4600c39c947..26430740acf7 100644 --- a/java/debugger/openapi/src/com/intellij/debugger/engine/JVMDebugProvider.java +++ b/java/debugger/openapi/src/com/intellij/debugger/engine/JVMDebugProvider.java @@ -19,7 +19,7 @@ import com.intellij.openapi.extensions.ExtensionPointName; import com.intellij.psi.PsiFile; /** - * @deprecated Extends {@link com.intellij.debugger.engine.JavaDebugAware} + * @deprecated Use {@link com.intellij.debugger.engine.JavaDebugAware} * to remove in IDEA 15 */ @Deprecated diff --git a/java/debugger/openapi/src/com/intellij/debugger/engine/JavaDebugAware.java b/java/debugger/openapi/src/com/intellij/debugger/engine/JavaDebugAware.java index c62cf0101555..ecb1186243a8 100644 --- a/java/debugger/openapi/src/com/intellij/debugger/engine/JavaDebugAware.java +++ b/java/debugger/openapi/src/com/intellij/debugger/engine/JavaDebugAware.java @@ -16,17 +16,16 @@ package com.intellij.debugger.engine; import com.intellij.openapi.extensions.ExtensionPointName; -import com.intellij.openapi.fileTypes.FileType; import com.intellij.psi.PsiFile; import org.jetbrains.annotations.NotNull; public abstract class JavaDebugAware { static final ExtensionPointName EP_NAME = ExtensionPointName.create("com.intellij.debugger.javaDebugAware"); - public abstract boolean isBreakpointAware(@NotNull PsiFile psiFile, @NotNull FileType fileType); + public abstract boolean isBreakpointAware(@NotNull PsiFile psiFile); // IDEA-122113, will be removed when Java debugger will be moved to XDebugger API - public boolean isActionAware(@NotNull PsiFile psiFile, @NotNull FileType fileType) { - return isBreakpointAware(psiFile, fileType); + public boolean isActionAware(@NotNull PsiFile psiFile) { + return isBreakpointAware(psiFile); } } \ No newline at end of file