Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8190

Implement Closeable on TupleStream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Implemented
    • 6.0
    • 6.0
    • SolrJ
    • None

    Description

      Implementing Closeable on TupleStream provides the ability to use try-with-resources (https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html) in tests and in practice. This prevents TupleStreams from being left open when there is an error in the tests.

      Attachments

        1. SOLR-8190.patch
          55 kB
          Kevin Risden
        2. SOLR-8190.patch
          51 kB
          Jason Gerlowski
        3. SOLR-8190.patch
          1 kB
          Kevin Risden

        Issue Links

          Activity

            People

              jbernste Joel Bernstein
              krisden Kevin Risden
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: