Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 69082 invoked from network); 2 Mar 2007 07:28:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2007 07:28:24 -0000 Received: (qmail 21949 invoked by uid 500); 2 Mar 2007 07:28:23 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 21899 invoked by uid 500); 2 Mar 2007 07:28:22 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 21882 invoked by uid 99); 2 Mar 2007 07:28:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 23:28:22 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 23:28:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EE8FE7142E2 for ; Thu, 1 Mar 2007 23:27:50 -0800 (PST) Message-ID: <23923905.1172820470972.JavaMail.jira@brutus> Date: Thu, 1 Mar 2007 23:27:50 -0800 (PST) From: "Jochen Wiedmann (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Updated: (IO-116) Replace static FileCleaner methods In-Reply-To: <4209671.1172820470753.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IO-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Wiedmann updated IO-116: ------------------------------- Attachment: commons-io-filecleaningtracker.patch > Replace static FileCleaner methods > ---------------------------------- > > Key: IO-116 > URL: https://issues.apache.org/jira/browse/IO-116 > Project: Commons IO > Issue Type: Improvement > Components: Utilities > Affects Versions: 1.3.1 > Reporter: Jochen Wiedmann > Priority: Critical > Fix For: 1.4 > > Attachments: commons-io-filecleaningtracker.patch > > > The attached patch aims to finally resolve the problems, which are named in IO-99, FILEUPLOAD-120, and FILEUPLOAD-125. > I choosed a conservative strategy: Basically I copied the FileCleaner class to an instantiable class FileCleaningTracker with instance methods. The static FileCleaner methods are now implemented by a static instance of FileCleaningTracker. (The name FileCleaningTracker is, of course, questionable. > The FileCleaningTestCase was also created by simply copying FileCleaner to FileCleaningTestCase. FileCleanerTestCase is now similarly implemented as a subclass of FileCleanerTestCase which uses the static instance of FileCleaner rather than a dynamically created instance. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org