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

Implement Closeable on TupleStream

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: SolrJ
    • Labels:
      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
          1 kB
          Kevin Risden
        2. SOLR-8190.patch
          51 kB
          Jason Gerlowski
        3. SOLR-8190.patch
          55 kB
          Kevin Risden

          Issue Links

            Activity

              People

              • Assignee:
                joel.bernstein Joel Bernstein
                Reporter:
                risdenk Kevin Risden
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: