Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6592A91CA for ; Tue, 15 May 2012 20:55:48 +0000 (UTC) Received: (qmail 62556 invoked by uid 500); 15 May 2012 20:55:48 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 62529 invoked by uid 500); 15 May 2012 20:55:48 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 62519 invoked by uid 99); 15 May 2012 20:55:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2012 20:55:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bowserj@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2012 20:55:41 +0000 Received: by werg55 with SMTP id g55so13055wer.6 for ; Tue, 15 May 2012 13:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9rl4fMjeIPFk62MAGXz5GX0tKZnsWX9Ihim7YFg7ctc=; b=lp+qnj+TcA2RSkxuIIoi+97HxL2drJuUi4/eKDuYWIcQzHpJanzoBzKe8048DLplI5 iXFPuByEZncZidKFqeT30vxA3lRiEojNAJTPvWWEHXO5I9fx5j82Oehoi4MLp1Gn+lkj 47h0svhV6+wupllCP46s4c7lN+K2VuB/jCueCsaGGFvcPzU8zeXIbEis53CpAMcsqJSx fE8/GJgck55siag6vPFR9PoXlBYwSqFf1z7y8kfp/smQFC4GjRh4U08YU/wYbvAxRd9W l4ayIyR/dDyPvj91h+N7BIyZC8GB/YFGWDF4mlAtNQSnuae4WSBwgAEQukfzTm3uB5ts dbnw== MIME-Version: 1.0 Received: by 10.216.135.204 with SMTP id u54mr261683wei.40.1337115321728; Tue, 15 May 2012 13:55:21 -0700 (PDT) Received: by 10.223.47.135 with HTTP; Tue, 15 May 2012 13:55:21 -0700 (PDT) In-Reply-To: References: Date: Tue, 15 May 2012 13:55:21 -0700 Message-ID: Subject: Re: Java Style From: Joe Bowser To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e6dd8d3fc67d1b04c0196b81 --0016e6dd8d3fc67d1b04c0196b81 Content-Type: text/plain; charset=ISO-8859-1 +1 on spaces. It should be noted that this isn't the default in Eclipse. :( On Tue, May 15, 2012 at 1:52 PM, Drew Walters wrote: > Should note, all the BlackBerry Java code is 4 space indentation > except for maybe a few spots where someone else edited the file. > > On Tue, May 15, 2012 at 3:50 PM, Drew Walters wrote: > > +1 spaces > > > > On Tue, May 15, 2012 at 3:48 PM, Shazron wrote: > >> Spaces. > >> I've an issue filed against iOS regarding this: > >> https://issues.apache.org/jira/browse/CB-625 > >> > >> > >> On Tue, May 15, 2012 at 1:49 PM, Filip Maj wrote: > >>> I suppose I should post my refs too > >>> > >>> [1] http://wiki.apache.org/cordova/StyleGuide > >>> [2] > >>> > http://www.oracle.com/technetwork/java/javase/documentation/codeconventions > >>> -136091.html#262 > >>> > >>> On 5/15/12 1:48 PM, "Filip Maj" wrote: > >>> > >>>>Let's see how this one pans out ;) > >>>> > >>>>This came up during the code review of the CordovaWebView stuff for > >>>>Android. Our style guide [1] specifies to follow the Eclipse Coding > >>>>Conventions, which point to standards set out by Sun, which of course > now > >>>>points to an Oracle web site. > >>>> > >>>>The Sun standards say [2] about indentation: > >>>> > >>>>---- > >>>> > >>>>4 - Indentation > >>>> > >>>>Four spaces should be used as the unit of indentation. The exact > >>>>construction of the indentation (spaces vs. tabs) is unspecified. Tabs > >>>>must be set exactly every 8 spaces (not 4). > >>>> > >>>>---- > >>>> > >>>> > >>>>So my question is: tabs or spaces in Java code? > >>>> > >>>>My vote: spaces. > >>>> > >>>>Let your voice be heard. > >>>> > >>> > --0016e6dd8d3fc67d1b04c0196b81--