Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8342864

Introduce BufferedReader.readln as an alias for readLine

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      As part of JEP 477 and JEP 495 (Simple Source Files and Instance Main Methods) we've introduced a new IO class to provide an extremely simple I/O APIs. This includes a new point in the namespace, a "readln" method to read a line of input, which is a nice counterpart to println. Perhaps unfortunately, the BufferedReader method to read a line is "readLine". In order to reinforce the symmetry with various println methods, we should also introduce a "readln" method to BufferedReader as an alias for readLine.

            Unassigned Unassigned
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: