Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1782710392 for ; Mon, 16 Dec 2013 18:23:08 +0000 (UTC) Received: (qmail 8144 invoked by uid 500); 16 Dec 2013 18:23:08 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 8095 invoked by uid 500); 16 Dec 2013 18:23:07 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 8086 invoked by uid 99); 16 Dec 2013 18:23:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Dec 2013 18:23:07 +0000 Date: Mon, 16 Dec 2013 18:23:07 +0000 (UTC) From: "Bill Havanki (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2010) Remove resource leak warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849421#comment-13849421 ] Bill Havanki commented on ACCUMULO-2010: ---------------------------------------- When I was working ACCUMULO-1984, I did not see any compiler warnings pertaining to {{Closeable}}. Is this something IDE-specific? > Remove resource leak warnings > ----------------------------- > > Key: ACCUMULO-2010 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2010 > 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 (v6.1.4#6159)