You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2015/12/01 14:48:10 UTC
[jira] [Updated] (SOLR-8357) UpdateLog.RecentUpdates should
implement Closeable
[ https://issues.apache.org/jira/browse/SOLR-8357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Woodward updated SOLR-8357:
--------------------------------
Attachment: SOLR-8357.patch
Patch, also with a small bit of refactoring to make construction cleaner.
> UpdateLog.RecentUpdates should implement Closeable
> --------------------------------------------------
>
> Key: SOLR-8357
> URL: https://issues.apache.org/jira/browse/SOLR-8357
> Project: Solr
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Minor
> Attachments: SOLR-8357.patch
>
>
> It has a close() method, which always needs to be called, so we should make it implement Closeable and allow it to be used in try-with-resources blocks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org