Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 61644 invoked from network); 23 Feb 2006 20:02:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Feb 2006 20:02:32 -0000 Received: (qmail 76174 invoked by uid 500); 23 Feb 2006 20:01:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 76101 invoked by uid 500); 23 Feb 2006 20:01:34 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 76060 invoked by uid 99); 23 Feb 2006 20:01:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2006 12:01:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.34] (HELO brmea-mail-3.sun.com) (192.18.98.34) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2006 12:01:30 -0800 Received: from phys-gadget-1 ([129.156.85.171]) by brmea-mail-3.sun.com (8.12.10/8.12.9) with ESMTP id k1NK19Qj000712 for ; Thu, 23 Feb 2006 13:01:09 -0700 (MST) Received: from conversion-daemon.gadget-mail1.uk.sun.com by gadget-mail1.uk.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0IV500201OVIHW@gadget-mail1.uk.sun.com> (original mail from Kristian.Waagan@Sun.COM) for derby-dev@db.apache.org; Thu, 23 Feb 2006 20:01:09 +0000 (GMT) Received: from [129.159.112.188] (khepri17.Norway.Sun.COM [129.159.112.188]) by gadget-mail1.uk.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTPA id <0IV500KSLOXWEC@gadget-mail1.uk.sun.com> for derby-dev@db.apache.org; Thu, 23 Feb 2006 20:01:08 +0000 (GMT) Date: Thu, 23 Feb 2006 21:01:08 +0100 From: Kristian Waagan Subject: Re: [Db-derby Wiki] Update of "DerbyContributorChecklist" by RichardHillegas In-reply-to: <20060223193928.8637.18255@ajax.apache.org> To: Derby Development Message-id: <43FE1484.8010401@Sun.com> Organization: Sun Microsystems Inc. MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7.12) Gecko/20050930 Thunderbird/1.0.7 Mnenhy/0.7.2.0 References: <20060223193928.8637.18255@ajax.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Apache Wiki wrote: > Dear Wiki user, > > You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification. > > The following page has been changed by RichardHillegas: > http://wiki.apache.org/db-derby/DerbyContributorChecklist > > ------------------------------------------------------------------------------ > ||Copyright Notice||Every java file in your patch must start with the Apache [http://www.apache.org/licenses/LICENSE-2.0.html#apply copyright notice]. See the existing Derby Java files for examples. || > ||Tests||Don't forget to include regression tests with your patch.|| > ||Coding Standards||The Derby community has not approved a common body of coding standards. Individual contributors have found the following standards useful: [http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html Java Coding Standards] and [http://wiki.apache.org/geronimo/CodingStandards Geronimo Coding Standards].|| > + ||Comments||Make sure you comment your code.|| > + ||Tabs||Set your tabs at 4 spaces. This was the original Cloudscape convention. With this setting your code should look readable.|| > Hi, I know the issue has been discussed before, but is it deliberate that the checklist does not specify whether it is preferred to use tabs or spaces for indentation? While I'm at it, if we say spaces are preferred over tabs, is it okay to contribute patches that (only) fix indentation for individual files? The primary reason for doing this (for me) is that files that mix space and tab indentation can result in very ugly diffs. As mentioned earlier, most editors/IDEs are able to cope with this issue, so it's no problem when working with the code in these tools. -- Kristian