Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-230

Properly close resources with try-with-resources in T4AndT6Compression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-alpha1
    • 1.0-alpha2
    • None
    • None

    Description

      There is a couple of places in T4AndT5Compression where resources are not being properly closed in case of exceptions. Using try-with-resources can be applied here to fix that.

      Attachments

        Issue Links

          Activity

            People

              kinow Bruno P. Kinoshita
              kinow Bruno P. Kinoshita
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m