We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 317402a commit 2c21427Copy full SHA for 2c21427
application/src/main/java/org/togetherjava/tjbot/features/jshell/renderer/RendererUtils.java
@@ -59,8 +59,7 @@ static GeneralStatus getGeneralStatus(JShellResult result) {
59
return GeneralStatus.PARTIAL_SUCCESS; // At least one snippet is a success
60
}
61
62
- return getGeneralStatus(
63
- result.snippetsResults().get(result.snippetsResults().size() - 1).status());
+ return getGeneralStatus(result.snippetsResults().getLast().status());
64
65
66
static Color getStatusColor(JShellResult result) {
0 commit comments