samtools / htsjdk

A Java API for high-throughput sequencing data (HTS) formats.
http://samtools.github.io/htsjdk/
283 stars 242 forks source link

TabixReader implements Autoclose #1457

Closed lindenb closed 4 years ago

lindenb commented 4 years ago

Description

I added AutoCloseable to TabixReader so it can be used in a try-with-resource statement.

Things to think about before submitting: