Introduce BufferedReader.readln as an alias for readLine

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated: