mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
removed deprecated usage
This commit is contained in:
+4
-3
@@ -48,6 +48,7 @@ import com.intellij.util.lang.CompoundRuntimeException;
|
||||
import com.intellij.util.ui.UIUtil;
|
||||
import com.sun.jdi.Method;
|
||||
import com.sun.jdi.ThreadReference;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.java.debugger.breakpoints.properties.JavaMethodBreakpointProperties;
|
||||
|
||||
import javax.swing.*;
|
||||
@@ -222,7 +223,7 @@ public abstract class ExecutionWithDebuggerToolsTestCase extends ExecutionTestCa
|
||||
if (pausedContext != null) {
|
||||
debugProcess.getManagerThread().schedule(new SuspendContextCommandImpl(pausedContext) {
|
||||
@Override
|
||||
public void contextAction() throws Exception {
|
||||
public void contextAction(@NotNull SuspendContextImpl suspendContext) throws Exception {
|
||||
paused(pausedContext);
|
||||
}
|
||||
});
|
||||
@@ -284,7 +285,7 @@ public abstract class ExecutionWithDebuggerToolsTestCase extends ExecutionTestCa
|
||||
protected void invokeRatherLater(SuspendContextImpl context, final Runnable runnable) {
|
||||
invokeRatherLater(new SuspendContextCommandImpl(context) {
|
||||
@Override
|
||||
public void contextAction() throws Exception {
|
||||
public void contextAction(@NotNull SuspendContextImpl suspendContext) throws Exception {
|
||||
DebuggerInvocationUtil.invokeLater(myProject, runnable);
|
||||
}
|
||||
});
|
||||
@@ -305,7 +306,7 @@ public abstract class ExecutionWithDebuggerToolsTestCase extends ExecutionTestCa
|
||||
request.myDebugProcess.getManagerThread().schedule(new SuspendContextCommandImpl(
|
||||
((SuspendContextCommandImpl)request.myDebuggerCommand).getSuspendContext()) {
|
||||
@Override
|
||||
public void contextAction() throws Exception {
|
||||
public void contextAction(@NotNull SuspendContextImpl suspendContext) throws Exception {
|
||||
pumpDebuggerThread(request);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user