mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix warnings
GitOrigin-RevId: b531d2d599aebe7fa461d15912cc5a81df07fc97
This commit is contained in:
committed by
intellij-monorepo-bot
parent
24bbf0e151
commit
d3032a36a0
@@ -61,7 +61,7 @@ public final class BuildResult implements MessageHandler {
|
||||
for (BuildTarget<?> target : targets) {
|
||||
id2Target.put(pd.dataManager.getTargetsState().getBuildTargetId(target), target);
|
||||
}
|
||||
Int2ObjectOpenHashMap<String> hashCodeToOutputPath = new Int2ObjectOpenHashMap<>();
|
||||
Int2ObjectMap<String> hashCodeToOutputPath=new Int2ObjectOpenHashMap<>();
|
||||
for (BuildTarget<?> target : targets) {
|
||||
stream.println("Begin Of SourceToOutput (target " + getTargetIdWithTypeId(target) + ")");
|
||||
SourceToOutputMapping map = pd.dataManager.getSourceToOutputMap(target);
|
||||
|
||||
@@ -41,7 +41,6 @@ import com.intellij.psi.PsiManager;
|
||||
import com.intellij.psi.ResolveState;
|
||||
import com.intellij.psi.scope.PsiScopeProcessor;
|
||||
import com.intellij.psi.util.PsiTreeUtil;
|
||||
import com.jetbrains.python.remote.RemoteProcessControl;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import com.intellij.util.ui.UIUtil;
|
||||
import com.intellij.xdebugger.*;
|
||||
@@ -72,12 +71,13 @@ import com.jetbrains.python.psi.resolve.PyResolveContext;
|
||||
import com.jetbrains.python.psi.resolve.PyResolveUtil;
|
||||
import com.jetbrains.python.psi.resolve.RatedResolveResult;
|
||||
import com.jetbrains.python.psi.types.*;
|
||||
import com.jetbrains.python.remote.RemoteProcessControl;
|
||||
import com.jetbrains.python.tables.TableCommandParameters;
|
||||
import com.jetbrains.python.tables.TableCommandType;
|
||||
import com.jetbrains.python.testing.AbstractPythonTestRunConfiguration;
|
||||
import org.jetbrains.annotations.Nls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import com.jetbrains.python.tables.TableCommandParameters;
|
||||
import com.jetbrains.python.tables.TableCommandType;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.ServerSocket;
|
||||
@@ -874,13 +874,10 @@ public class PyDebugProcess extends XDebugProcess implements IPyDebugProcess, Pr
|
||||
|
||||
private void showFailedTestInfoIfNecessary(@NotNull PyStackFrame frame) throws PyDebuggerException {
|
||||
PyExecutionStack pyExecutionStack = null;
|
||||
XDebugSession session = getSession();
|
||||
if (session != null) {
|
||||
XSuspendContext suspendContext = session.getSuspendContext();
|
||||
if (suspendContext != null) {
|
||||
XExecutionStack executionStack = suspendContext.getActiveExecutionStack();
|
||||
pyExecutionStack = executionStack != null ? (PyExecutionStack)executionStack : null;
|
||||
}
|
||||
XSuspendContext suspendContext = getSession().getSuspendContext();
|
||||
if (suspendContext != null) {
|
||||
XExecutionStack executionStack = suspendContext.getActiveExecutionStack();
|
||||
pyExecutionStack = executionStack != null ? (PyExecutionStack)executionStack : null;
|
||||
}
|
||||
|
||||
if (pyExecutionStack == null || !isFailedTestStop(pyExecutionStack.getThreadInfo())) return;
|
||||
@@ -912,7 +909,7 @@ public class PyDebugProcess extends XDebugProcess implements IPyDebugProcess, Pr
|
||||
isTestSetUpFail = true;
|
||||
}
|
||||
getProject().getService(PyUnitTestsDebuggingService.class).showFailedTestInlay(
|
||||
session, frame, exceptionType, errorMessage, isTestSetUpFail);
|
||||
getSession(), frame, exceptionType, errorMessage, isTestSetUpFail);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user