[
https://issues.apache.org/jira/browse/ACCUMULO-4318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Turner resolved ACCUMULO-4318.
------------------------------------
Resolution: Fixed
> Make BatchWriter, ConditionalWriter, and ScannerBase extend AutoCloseable
> -------------------------------------------------------------------------
>
> Key: ACCUMULO-4318
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4318
> Project: Accumulo
> Issue Type: Improvement
> Reporter: Keith Turner
> Assignee: Keith Turner
> Fix For: 1.8.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> BatchWriter, ConditionalWriter, Scanner, and BatchScanner all have close
> Methods. Howerver because they do not implement AutoCloseable they can not
> be used with try-with-resources.
> It would be simple to add AutoCloseable to all of these. I think this change
> should only be made in a minor release because it allows writing code that
> will not work with older versions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)