Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 39768 invoked from network); 4 Aug 2010 23:06:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Aug 2010 23:06:42 -0000 Received: (qmail 16170 invoked by uid 500); 4 Aug 2010 23:06:42 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 16065 invoked by uid 500); 4 Aug 2010 23:06:42 -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 16057 invoked by uid 99); 4 Aug 2010 23:06:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 23:06:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 23:06:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o74N6Hvo020626 for ; Wed, 4 Aug 2010 23:06:18 GMT Message-ID: <3606102.169711280963177811.JavaMail.jira@thor> Date: Wed, 4 Aug 2010 19:06:17 -0400 (EDT) From: "Niall Pemberton (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (IO-181) LineIterator should implement Iterable In-Reply-To: <1868147427.1220897144508.JavaMail.jira@brutus> 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/IO-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton resolved IO-181. -------------------------------- Resolution: Won't Fix > LineIterator should implement Iterable > --------------------------------------- > > Key: IO-181 > URL: https://issues.apache.org/jira/browse/IO-181 > Project: Commons IO > Issue Type: Improvement > Affects Versions: 1.4 > Reporter: Michael Ernst > Original Estimate: 1h > Remaining Estimate: 1h > > org.apache.commons.io.LineIterator does not implement Iterable. This makes > it impossible to use in certain stylized ways, such as in a new-style for > statement. Such use is not always desirable (it might temporarily leak a > file descriptor, until the finalizer is called), but should be possible in > situations where it is known to be acceptable. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.