On Thu, 17 Apr 2025 19:34:13 GMT, Chen Liang <li...@openjdk.org> wrote:

> I don't see how `readString` is particularly line oriented; making 
> `readAllLines` specific to `BufferedReader` makes sense.

Put another way, I don't think it makes sense to break up the higher level APIs 
across classes.
The buffering provided combined with the line oriented functions provides a 
good common place to make the methods discoverable and easy to use. YMMV

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

PR Comment: https://git.openjdk.org/jdk/pull/24728#issuecomment-2813903419

Reply via email to