Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 57157 invoked from network); 15 Jan 2010 10:54:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jan 2010 10:54:08 -0000 Received: (qmail 91058 invoked by uid 500); 15 Jan 2010 10:54:07 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 91005 invoked by uid 500); 15 Jan 2010 10:54:07 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 90995 invoked by uid 99); 15 Jan 2010 10:54:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2010 10:54:07 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [92.42.190.144] (HELO ok2cons2.nine.ch) (92.42.190.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2010 10:53:59 +0000 Received: from [192.168.100.100] (unknown [213.55.131.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id CB44A4BA351; Fri, 15 Jan 2010 11:53:33 +0100 (CET) Subject: Re: Code formatting and standards From: Oleg Kalnichevski To: Tony Poppleton Cc: dev@hc.apache.org In-Reply-To: <2132311.157063.1263522543889.JavaMail.www@wwinf1f09> References: <2132311.157063.1263522543889.JavaMail.www@wwinf1f09> Content-Type: multipart/mixed; boundary="=-5V9/r+c/UYDB8rAOHJF0" Date: Fri, 15 Jan 2010 11:53:22 +0100 Message-ID: <1263552802.10603.14.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 --=-5V9/r+c/UYDB8rAOHJF0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2010-01-15 at 03:29 +0100, Tony Poppleton wrote: > (this was previously posted on the users mailing list by mistake, reposting to the correct channel...) > > Hi, > > I use the Eclipse IDE for all my development, and one useful feature is the code formatter to ensure standardization. Does anyone have a premade Eclipse IDE formatter for HttpCore/HttpClient that they could send me please? > Hi Tony Here is the file containing code formatting settings that I use. > Is code formatting enforced in these projects? > No, not really. The only hard requirement is the use of spaces instead of tabs and indentation with 4 spaces. > On a related topic, is there a coding standards document, for example on the usage of the "final" keyword, to ensure coding is consistent between developers? > Historically there used to be too many developers with completely different tastes for the code formatting standards, so any attempt at coming up with a common policy could easily escalate into a full scale 'food fight'. I personally have fairly bizarre preferences for code formatting and therefore do not find it possible to impose them onto other fellow human beings. We could try, though, given the fact that the code base is becoming stable and major cross cutting changes are unlikely. Oleg > Many thanks, > Tony --=-5V9/r+c/UYDB8rAOHJF0 Content-Type: application/xml; name="oleg's" Content-Disposition: attachment; filename="oleg's" Content-Transfer-Encoding: 7bit --=-5V9/r+c/UYDB8rAOHJF0 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org --=-5V9/r+c/UYDB8rAOHJF0--