We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9a9c55 + 1e2c7c5 commit 351f42fCopy full SHA for 351f42f
1 file changed
core/console/src/main/java/org/eclipse/rdf4j/console/ConsoleIO.java
@@ -53,7 +53,11 @@ protected String readCommand()
53
}
54
write("> ");
55
56
- String line = input.readLine().trim();
+ String line = input.readLine();
57
+ if (line == null) {
58
+ return null;
59
+ }
60
+ line = line.trim();
61
if (line.endsWith(".")) {
62
line = line.substring(0, line.length() - 1);
63
0 commit comments