Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 78393 invoked from network); 20 May 2008 19:04:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 May 2008 19:04:30 -0000 Received: (qmail 45872 invoked by uid 500); 20 May 2008 19:04:30 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 45776 invoked by uid 500); 20 May 2008 19:04:30 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 45765 invoked by uid 99); 20 May 2008 19:04:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 12:04:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 209.85.142.184 as permitted sender) Received: from [209.85.142.184] (HELO ti-out-0910.google.com) (209.85.142.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 19:03:42 +0000 Received: by ti-out-0910.google.com with SMTP id u5so1720974tia.10 for ; Tue, 20 May 2008 12:03:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=V7V+dM+R3aA6DAdgGrwAjrMgtGm8b1fAjGtPRMCUDLQ=; b=KnVHaa+zfnbCpxP6QZDNkk05wfHvouCh5fvBB4GQgbPYB+S83kZTsWokvW8jkBTpsU2GpXWewiBxL5vLu9wz/12pGrBoPgRqkn/QPdUN7GHaDIiZxjUKoU6cUzMHMnn3oAdUqRYXTaGlc2l3whKbWPg54QpaSxTluRDN7AhaY4I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=xW1bzoC91T9WpNRk11VUH3iW+PUGVKs2zjEuJqPd8bLgrZIv9nwqjcMyRx7r7YezIAHq3p6S4DeFHWRCbECzeMuOx58LuWBmuDN7EnbiYds4yldCsI8y2u873s9j9/eQBOMPVVhjsW6KicblnbDqL3e0uAgm1K9xfYz54gcWMRQ= Received: by 10.150.83.41 with SMTP id g41mr7937849ybb.196.1211310234639; Tue, 20 May 2008 12:03:54 -0700 (PDT) Received: by 10.150.91.10 with HTTP; Tue, 20 May 2008 12:03:54 -0700 (PDT) Message-ID: <25aac9fc0805201203n4bcd4acm4fec037f3470ccca@mail.gmail.com> Date: Tue, 20 May 2008 20:03:54 +0100 From: sebb To: "Commons Developers List" Subject: Re: [NET] Tabs and spaces In-Reply-To: <460801A4097E3D4CA04CC64EE648584805D02AE3@ism-mail03.corp.ad.wrs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <25aac9fc0805191028r28bff636h10c27d4fc9a6681@mail.gmail.com> <4831BEB0.2070400@apache.org> <460801A4097E3D4CA04CC64EE648584805D02AE3@ism-mail03.corp.ad.wrs.com> X-Virus-Checked: Checked by ClamAV on apache.org On 20/05/2008, Oberhuber, Martin wrote: > > Is there any guideline on tabs vs spaces in Commons? Dunno ... my view is that tabs are nothing but trouble, and should never be used for formatting new code. > Given that due to the Copyright Text Change we have > A diff on each and every file already, now might be > A good time to do such a global cleanup, in order > To simplify diffs / patches in upcoming bugfix > Releases, and cross-porting patches between the > 1.5 and 2.0 streams. > Yes, indeed. > Cheers, > > -- > Martin Oberhuber, Senior Member of Technical Staff, Wind River > Target Management Project Lead, DSDP PMC Member > http://www.eclipse.org/dsdp/tm > > > > > > -----Original Message----- > > From: Dennis Lundberg [mailto:dennisl@apache.org] > > Sent: Montag, 19. Mai 2008 19:54 > > To: Commons Developers List > > Subject: Re: [NET] Tabs and spaces > > > > sebb wrote: > > > Looks like most of NET uses spaces for indentation. > > > > > > [There are about 28,000 lines starting with 4 or more spaces; only > > > about 2,000 lines starting with tab] > > > > > > However, there are quite a few files that use tabs; it > > looks like the > > > assumption is that tabs are every 4 spaces - but of course > > this is not > > > necessarily how all editors and printers are set up... > > > > > > Any views on fixing these? > > > > I'd replace each tab with 4 spaces. > > > > > I'm happy to do this. > > > > > > I noticed the problem when creating some patches for NET. > > > > > > S/// > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > > > For additional commands, e-mail: dev-help@commons.apache.org > > > > > > > > > > > > -- > > Dennis Lundberg > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > > For additional commands, e-mail: dev-help@commons.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org