Set up project configuration: EditorConfig, Git attributes, devcontainer, Release Drafter, SECURITY.md, and README badges
This commit is contained in:
@@ -72,7 +72,7 @@ public final class Confirm {
|
||||
}
|
||||
|
||||
/**
|
||||
* Uses the given scanner for one line. Use when sharing one scanner (e.g. demo).
|
||||
* Uses the given scanner for one line. Use when sharing one scanner (e.g. interactive app).
|
||||
*/
|
||||
public boolean ask(Scanner sharedScanner) {
|
||||
if (sharedScanner == null) return ask();
|
||||
|
||||
@@ -64,7 +64,7 @@ public final class Prompt {
|
||||
|
||||
/**
|
||||
* Prompts and returns the next line from the given scanner. Use this when
|
||||
* sharing one scanner (e.g. in a demo) so input blocks correctly.
|
||||
* sharing one scanner (e.g. in an interactive app) so input blocks correctly.
|
||||
*/
|
||||
public String ask(Scanner sharedScanner) {
|
||||
if (sharedScanner == null) return ask();
|
||||
|
||||
Reference in New Issue
Block a user