Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@apache.org Received: (qmail 60285 invoked from network); 18 Feb 2003 06:12:24 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 18 Feb 2003 06:12:24 -0000 Received: (qmail 22709 invoked by uid 97); 18 Feb 2003 06:14:07 -0000 Delivered-To: qmlist-jakarta-archive-lucene-dev@nagoya.betaversion.org Received: (qmail 22702 invoked from network); 18 Feb 2003 06:14:07 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 18 Feb 2003 06:14:07 -0000 Received: (qmail 60014 invoked by uid 500); 18 Feb 2003 06:12:21 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 59989 invoked from network); 18 Feb 2003 06:12:20 -0000 Received: from s149v112.servlets.net (209.221.149.112) by daedalus.apache.org with SMTP; 18 Feb 2003 06:12:20 -0000 Received: from Matt (ool-4353cbf6.dyn.optonline.net [67.83.203.246]) (authenticated) by s149v112.servlets.net (8.11.6/8.11.6) with ESMTP id h1I6CV514251 for ; Mon, 17 Feb 2003 22:12:31 -0800 From: "Matt Tucker" To: "'Lucene Developers List'" Subject: RE: FSDirectory patch for file renaming Date: Tue, 18 Feb 2003 01:12:30 -0500 Message-ID: <00f001c2d714$bb52aab0$6401a8c0@Matt> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <200302172156.18689.tatu@hypermall.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Tatu, > The only suggestion I have is to encapsulate this workaround=20 > in one place, perhaps to a utility class file (util/FileUtil.java?), = and=20 > only called from the other place(s) (right now that would be just one place?).=20 > This way workaround code wouldn't add code clutter to actual=20 > functionality, and could=20 > be properly commented in utility class itself. Personally, this seems like overkill to me. There is only a single use = of File.renameTo in the entire Lucene codebase, so why not keep the = workaround code local to that usage? Additionally, we're only talking about a few = lines of code. Is it really better to add a whole new class? Regards, Matt --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org