Skip to content

Commit

Permalink
Removing incorrect sentence about writing a prompt for the prompt-les…
Browse files Browse the repository at this point in the history
…s readln method.
  • Loading branch information
lahodaj committed Oct 25, 2024
1 parent 3554045 commit 961b08c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/java.base/share/classes/java/io/Console.java
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ public String readln(String prompt) {
}

/**
* Writes a prompt as if by calling {@code print}, then reads a single line
* of text from this console.
* Then reads a single line of text from this console.
*
* @throws IOError
* If an I/O error occurs.
Expand Down

0 comments on commit 961b08c

Please sign in to comment.