Commons IO
  1. Commons IO
  2. IO-213

LineIterator should implement Iterator<String> as well/instead of Iterator

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: Utilities
    • Labels:
      None

      Description

      Typesafety is nicer than having to cast from object on every pass through the loop. As LineIterator only outputs strings, this should be trivial.

        Activity

        Hide
        Sebb added a comment -

        Fixed in r619103

        Show
        Sebb added a comment - Fixed in r619103

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Collins
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development