Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-742

IOUtils.close(Closeable, IOConsumer<IOException>) should not throw IOException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 2.10.0
    • None
    • Utilities
    • None

    Description

      The method

      public static void close(Closeable closeable, IOConsumer<IOException> consumer)

      should not include a throws IOException clause as the IOException will be handled by consumer (which is the point of the method).

      Attachments

        Activity

          People

            Unassigned Unassigned
            MatthiasWe Matthias Welz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: