accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ACCUMULO-2627) Use try-with-resources
Date Sat, 11 Apr 2015 01:03:15 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14490666#comment-14490666
] 

Josh Elser edited comment on ACCUMULO-2627 at 4/11/15 1:03 AM:
---------------------------------------------------------------

bq. If somebody else is able to pick up the work I had done and drive it home, that would
be excellent.

Ok. I will leave it in 1.7.0. If someone picks it up, great. Otherwise, it'll be done later.

bq. Are we allowed to add the Closeable interface to classes in a minor release

Adding closeable would still be source-compatible which, I believe, is sufficient for our
current guarantees. I'm not sure about binary compat but we don't have a strong story there
anyways.


was (Author: elserj):
bq. If somebody else is able to pick up the work I had done and drive it home, that would
be excellent.

Ok. I will pull it back into 1.7.0. If someone picks it up, great. Otherwise, it'll be done
later.

bq. Are we allowed to add the Closeable interface to classes in a minor release

Adding closeable would still be source-compatible which, I believe, is sufficient for our
current guarantees. I'm not sure about binary compat but we don't have a strong story there
anyways.

> Use try-with-resources
> ----------------------
>
>                 Key: ACCUMULO-2627
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2627
>             Project: Accumulo
>          Issue Type: Sub-task
>            Reporter: Mike Drob
>            Assignee: Mike Drob
>             Fix For: 1.7.0
>
>         Attachments: ACCUMULO-2627.patch.txt
>
>
> After switching to JAVASEVEN, we should take advantage of cool language features like
try-with-resources.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message