Skip to content

Commit 8605a4b

Browse files
committed
Added @nullable on JShellResult fields
1 parent 668ceae commit 8605a4b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

JShellAPI/src/main/java/org/togetherjava/jshellapi/dto/JShellResult.java

+4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
package org.togetherjava.jshellapi.dto;
22

3+
import org.springframework.lang.Nullable;
4+
35
import java.util.List;
46

57
public record JShellResult(
68
SnippetStatus status,
79
SnippetType type,
810
int id,
911
String source,
12+
@Nullable
1013
String result,
14+
@Nullable
1115
JShellExceptionResult exception,
1216
boolean stdoutOverflow,
1317
String stdout,

0 commit comments

Comments
 (0)