Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 52607 invoked from network); 4 Mar 2010 14:13:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 14:13:59 -0000 Received: (qmail 48931 invoked by uid 500); 4 Mar 2010 14:13:48 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 48873 invoked by uid 500); 4 Mar 2010 14:13:48 -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 48864 invoked by uid 99); 4 Mar 2010 14:13:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:13:47 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:13:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 65B49234C4CE for ; Thu, 4 Mar 2010 14:13:27 +0000 (UTC) Message-ID: <322692553.69391267712007415.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Mar 2010 14:13:27 +0000 (UTC) From: "Eugene Smelik (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (IO-231) FileUtils generate wrong exception message in isFileNewer method In-Reply-To: <1937455871.68671267710087263.JavaMail.jira@brutus.apache.org> 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/IO-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841273#action_12841273 ] Eugene Smelik commented on IO-231: ---------------------------------- The same problem exists in method isFileOlder() > FileUtils generate wrong exception message in isFileNewer method > ---------------------------------------------------------------- > > Key: IO-231 > URL: https://issues.apache.org/jira/browse/IO-231 > Project: Commons IO > Issue Type: Bug > Components: Utilities > Affects Versions: 1.4 > Reporter: Eugene Smelik > Fix For: 2.0 > > Original Estimate: 0.05h > Remaining Estimate: 0.05h > > {code} > if (!reference.exists()) { > throw new IllegalArgumentException("The reference file '" + file + "' doesn't exist"); > } > {code} > If second argument file does not exist isFileNewer method generates exception with message about first argument file does not exist. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.