From java-dev-return-42074-apmail-lucene-java-dev-archive=lucene.apache.org@lucene.apache.org Wed Nov 04 16:21:56 2009 Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 89180 invoked from network); 4 Nov 2009 16:21:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Nov 2009 16:21:56 -0000 Received: (qmail 46498 invoked by uid 500); 4 Nov 2009 16:21:55 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 46420 invoked by uid 500); 4 Nov 2009 16:21:55 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 46412 invoked by uid 99); 4 Nov 2009 16:21:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 16:21:55 +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; Wed, 04 Nov 2009 16:21:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5E4B7234C052 for ; Wed, 4 Nov 2009 08:21:32 -0800 (PST) Message-ID: <102868857.1257351692371.JavaMail.jira@brutus> Date: Wed, 4 Nov 2009 16:21:32 +0000 (UTC) From: "Michael McCandless (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2027) Deprecate Directory.touchFile In-Reply-To: <1056519307.1257329432357.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/LUCENE-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773546#action_12773546 ] Michael McCandless commented on LUCENE-2027: -------------------------------------------- Why not simply deprecate and then remove the method? Nothing in Lucene uses it. > Deprecate Directory.touchFile > ----------------------------- > > Key: LUCENE-2027 > URL: https://issues.apache.org/jira/browse/LUCENE-2027 > Project: Lucene - Java > Issue Type: Improvement > Components: Store > Reporter: Michael McCandless > Priority: Trivial > Fix For: 3.1 > > > Lucene doesn't use this method, and, FindBugs reports that FSDirectory's impl shouldn't swallow the returned result from File.setLastModified. -- 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: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org