Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6E4B99D2 for ; Fri, 20 Apr 2012 13:19:30 +0000 (UTC) Received: (qmail 93134 invoked by uid 500); 20 Apr 2012 13:19:29 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 93047 invoked by uid 500); 20 Apr 2012 13:19:29 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 93010 invoked by uid 99); 20 Apr 2012 13:19:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2012 13:19:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2012 13:19:23 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AFDA141A9D for ; Fri, 20 Apr 2012 13:18:42 +0000 (UTC) Date: Fri, 20 Apr 2012 13:18:42 +0000 (UTC) From: "Gary D. Gregory (Updated) (JIRA)" To: issues@commons.apache.org Message-ID: <347574291.9674.1334927922721.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (VFS-254) Let FileObject and FileContent extend Closeable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/VFS-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory updated VFS-254: -------------------------------- Fix Version/s: (was: 2.0) 2.1 > Let FileObject and FileContent extend Closeable > ----------------------------------------------- > > Key: VFS-254 > URL: https://issues.apache.org/jira/browse/VFS-254 > Project: Commons VFS > Issue Type: Improvement > Affects Versions: 1.0, 1.1, later, Nightly Builds, 2.0 > Reporter: Marek Zawirski > Priority: Trivial > Fix For: 2.1 > > Attachments: extend_cloneable.patch > > > What about letting FileObject and FileContent extend java.io.Closeable interface? > Some applications have a generic code for closing such resources (and for example ignoring and logging exceptions during close), so it may be useful at application-level. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira