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

(fs) Files usage of SUPPORTED_CHARSETS could be simplified

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 21
    • None
    • core-libs
    • None
    • b11

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

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

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

              Created:
              Updated:
              Resolved: