RFR: 8356420: Provide examples on wrapping System.in [v2]

Naoto Sato naoto at openjdk.org
Fri May 9 21:29:09 UTC 2025


On Fri, 9 May 2025 20:53:42 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Reflects a review comment
>
> src/java.base/share/classes/java/util/Scanner.java line 81:
> 
>> 79:  * }
>> 80:  *
>> 81:  * <p>To read lines from {@link System#in} with {@link System##stdin.encoding
> 
> Other 2 example paragraphs start with "this code allows..." and I think we should start this paragraph with: (you might need to wrap lines)
> Suggestion:
> 
>  * <p>This code reads lines from {@link System#in} with {@link System##stdin.encoding

Thanks. Modified

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25155#discussion_r2082520238


More information about the core-libs-dev mailing list