removed deprecated usage

This commit is contained in:
Egor.Ushakov
2017-06-27 13:56:58 +03:00
parent 9eeae05a56
commit 22c40f7f8b
@@ -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);
}