Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0FFB4200A5B for ; Thu, 5 May 2016 06:27:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0ECFF160A00; Thu, 5 May 2016 04:27:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8BCA9160A02 for ; Thu, 5 May 2016 06:27:14 +0200 (CEST) Received: (qmail 7494 invoked by uid 500); 5 May 2016 04:27:13 -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 7218 invoked by uid 99); 5 May 2016 04:27:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2016 04:27:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E4BF42C1F5C for ; Thu, 5 May 2016 04:27:12 +0000 (UTC) Date: Thu, 5 May 2016 04:27:12 +0000 (UTC) From: "Christian Schulte (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IO-504) Deprecation of all 'IOUtils.closeQuietly' methods. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 05 May 2016 04:27:15 -0000 [ https://issues.apache.org/jira/browse/IO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15271870#comment-15271870 ] Christian Schulte commented on IO-504: -------------------------------------- I'll provide a patch the next days. > Deprecation of all 'IOUtils.closeQuietly' methods. > -------------------------------------------------- > > Key: IO-504 > URL: https://issues.apache.org/jira/browse/IO-504 > Project: Commons IO > Issue Type: Wish > Reporter: Christian Schulte > Priority: Critical > > As soon as 'commons-io' is targetted at Java 7, all 'IOUtils.closeQuietly' methods should be deprecated and people should be told to use the try-with-resources statement. Those methods are way to error prone and used incorrectly almost everywhere. If 'commons-io' has '-target 1.7', keeping those methods makes no sense anymore. -- This message was sent by Atlassian JIRA (v6.3.4#6332)