accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2010) Remove resource leak warnings
Date Mon, 23 Dec 2013 23:14:52 GMT


Christopher Tubbs commented on ACCUMULO-2010:

Adding the following comment for completeness, not to start an additional thread about this
(since we already have one on the mailing list).

The visibility of the warnings may be IDE-specific. It just so happened that this issue was
represented as warnings in my IDE... but the impact on the API by having Closeable declared,
but not actually used by our own code, or having clear semantics is a problem independent
of how they manifest (or not) in an IDE.

> Remove resource leak warnings
> -----------------------------
>                 Key: ACCUMULO-2010
>                 URL:
>             Project: Accumulo
>          Issue Type: Task
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>             Fix For: 1.4.5, 1.5.1, 1.6.0
> ACCUMULO-1984 introduced a lot of resource leak warnings, because it made Instance implement
Closeable. If we really want this instance to be Closeable, then we need to close it when
we're done with it, to set a good example for using the API, at the very least.

This message was sent by Atlassian JIRA

View raw message