Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-1494

Improve resource handling of AutoCloseable streams in several classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • None
    • None

    Description

      As the title says.

      Aim:

      • Make use of try-with-resources to ensure close() method is called in case of exceptions during processing of a streamed resource.

      Attachments

        Activity

          People

            mawiesne Martin Wiesner
            mawiesne Martin Wiesner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: