(fs) Files usage of SUPPORTED_CHARSETS could be simplified

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 21
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b11

      Code of Files.lines() could be slightly simplified:

      - use Charsets instead of their names
      - use Set.of() instead of HashSet

            Assignee:
            Sergey Tsypanov
            Reporter:
            Sergey Tsypanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: