Return-Path: Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 95383 invoked from network); 13 Sep 2003 10:52:56 -0000 Received: from unknown (HELO c000.snv.cp.net) (209.228.32.72) by daedalus.apache.org with SMTP; 13 Sep 2003 10:52:56 -0000 Received: (cpmta 12154 invoked from network); 13 Sep 2003 03:52:25 -0700 Received: from 68.232.145.115 (HELO ehatchersolutions.com) by smtp.hatcher.net (209.228.32.72) with SMTP; 13 Sep 2003 03:52:25 -0700 X-Sent: 13 Sep 2003 10:52:25 GMT Date: Sat, 13 Sep 2003 06:52:26 -0400 Subject: Re: cvs commit: jakarta-lucene/src/java/org/apache/lucene/search Hits.java QueryFilter.java Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Erik Hatcher To: "Lucene Developers List" Content-Transfer-Encoding: 7bit In-Reply-To: <20030913104625.64506.qmail@minotaur.apache.org> Message-Id: <5D1FDF66-E5D8-11D7-8BD2-000393A564E6@ehatchersolutions.com> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Saturday, September 13, 2003, at 06:46 AM, ehatcher@apache.org wrote: > Reformatted. Do we have any style guides special to Lucene > different than Jakarta standards? I'm doing some thorough looks at Lucene's source code and its helpful to me to reformat the files with 4 space indents rather than the usual 2 I see. Are there specific style guidelines Lucene is following in contrast to the semi-official Jakarta ones? Also, one-line blocks without curly brackets drives me nuts! :) Is it ok for me to put them around statements like this: if (condition) doSomething(); ?? I went ahead and did reformatting to a couple of files, and I'm not planning on doing it globally, but just as I encounter them. I wanted to check on this before potentially doing others similarly. Erik