mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-40019 PY-42899 View as DataFrame is broken in Python Console
Revert accidentally removed `return` Signed-off-by: Elizaveta Shashkova <Elizaveta.Shashkova@jetbrains.com> GitOrigin-RevId: e04003ced7923b9bdc60df732fb2a23744692166
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c32d1d0100
commit
3bbf5a50e3
@@ -124,7 +124,9 @@ public abstract class PydevConsoleCommunication extends AbstractConsoleCommunica
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -493,7 +495,9 @@ public abstract class PydevConsoleCommunication extends AbstractConsoleCommunica
|
||||
"Error in evaluate():"
|
||||
);
|
||||
}
|
||||
return null;
|
||||
else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@@ -510,7 +514,9 @@ public abstract class PydevConsoleCommunication extends AbstractConsoleCommunica
|
||||
"Error in loadFrame():"
|
||||
);
|
||||
}
|
||||
return new XValueChildrenList();
|
||||
else {
|
||||
return new XValueChildrenList();
|
||||
}
|
||||
}
|
||||
|
||||
public synchronized int getNextFullValueSeq() {
|
||||
@@ -565,7 +571,9 @@ public abstract class PydevConsoleCommunication extends AbstractConsoleCommunica
|
||||
"Error in loadVariable():"
|
||||
);
|
||||
}
|
||||
return new XValueChildrenList();
|
||||
else {
|
||||
return new XValueChildrenList();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -610,7 +618,7 @@ public abstract class PydevConsoleCommunication extends AbstractConsoleCommunica
|
||||
public ArrayChunk getArrayItems(PyDebugValue var, int rowOffset, int colOffset, int rows, int cols, String format)
|
||||
throws PyDebuggerException {
|
||||
if (!isCommunicationClosed()) {
|
||||
executeBackgroundTask(
|
||||
return executeBackgroundTask(
|
||||
() -> {
|
||||
GetArrayResponse ret = getPythonConsoleBackendClient().getArray(var.getName(), rowOffset, colOffset, rows, cols, format);
|
||||
return createArrayChunk(ret, this);
|
||||
@@ -620,7 +628,9 @@ public abstract class PydevConsoleCommunication extends AbstractConsoleCommunica
|
||||
"Error in getArrayItems():"
|
||||
);
|
||||
}
|
||||
return null;
|
||||
else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user