Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-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 A11721849F for ; Tue, 20 Oct 2015 15:42:50 +0000 (UTC) Received: (qmail 19710 invoked by uid 500); 20 Oct 2015 15:42:50 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 19654 invoked by uid 500); 20 Oct 2015 15:42:50 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 19640 invoked by uid 99); 20 Oct 2015 15:42:49 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2015 15:42:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1D4071A2E00 for ; Tue, 20 Oct 2015 15:42:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.668 X-Spam-Level: X-Spam-Status: No, score=0.668 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=capitalone.com header.b=tlpigNsf; dkim=pass (2048-bit key) header.d=capitalone.com header.b=R3LvBROR Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id K0xslqE-d8Vm for ; Tue, 20 Oct 2015 15:42:46 +0000 (UTC) Received: from outp.capitalone.com (outp.capitalone.com [204.63.55.164]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 9A1B0439E9 for ; Tue, 20 Oct 2015 15:42:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=capitalone.com; l=2495; q=dns/txt; s=SM2048Mar2015P; t=1445355766; x=1445442166; h=from:to:date:subject:message-id:mime-version: content-transfer-encoding; bh=MpIfBzVxO52nAzreQG4xx6Kngt0wSIBIwh3x6wqTViw=; b=tlpigNsfRSHy6gIPJXHjzAp2+7sIhxnO4HDohvf3iZriinWiw/Muwx/5 rYEJGNo5wKhOPuLBPtQvtflVIEbeVq25x5H9K84V+wksUX8hOAL4YBdpu gVf1CUGIKnJN5BVHvtPHi22FcwDWqUYj4DN2Jex7eucNk54n+TUsU5SwU d1j8uK2a43Pjb3hRZ/ux+zEPkeRkj9vvypUsQhi6CIxdYxEstlCjI2f7n 3xAeua2xwA0iHcK6ax/EsITcGulUqyvJ5A1RcZL9z2hf49cnv3v81LYNm TvKPFJKu7yj02ljuTcB5TyDZFBS8lt5t45A0nN67XyRHcokbdmJSbc0e6 w==; X-IronPort-AV: E=McAfee;i="5700,7163,7959"; a="100217819" X-IronPort-AV: E=Sophos;i="5.17,707,1437451200"; d="scan'208";a="100217819" X-AFNotificationDomain: TRUE Received: from komail01.kdc.capitalone.com ([10.37.137.132]) by pomail02.capitalone.com with ESMTP/TLS/ADH-CAMELLIA256-SHA; 20 Oct 2015 11:42:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=capitalone.com; l=1722; q=dns/txt; s=SM2048Mar2015K; t=1445355759; x=1445442159; h=from:to:date:subject:message-id:mime-version: content-transfer-encoding; bh=Nn7bTLi/mgnFwnVUSliMRTYt+ummqoRpMEWfMDZObQw=; b=R3LvBRORGWmz6sgfPuIRxEpBB8VgRAD5XhDqokEBJm4l12/JDOMuRm2O KRzsjKVqYYNXpDW2kiQ0fPYHpAsPSpQT/EngsU4fQugRgRxvUDNod6WSa ElRsEDr+brpmdhYHDudkQ7CyKHtjCn843qhXtj6FKTg4at3MjqUTRt60B a1Bg+0v/7Fg+S4X0D9/okxCxrrc+2QsUKr/y4gfskUlcCWR6BmsMHps4S wfZszxa+Csp3GBIggjbsc+dTNch97aWrBsKFOFZ0EQ0ut5wRL7gLPocf7 7NpHGfCm361uua3eMpeDg5leSw0lR03gVaOshVLNSkbNGwXeOMltvjeCY g==; X-IronPort-AV: E=McAfee;i="5700,7163,7959"; a="287090367" X-IronPort-AV: E=Sophos;i="5.17,707,1437451200"; d="scan'208";a="287090367" X-AFNotificationDomain: TRUE Received: from kdcpexcasht03.cof.ds.capitalone.com ([10.37.194.13]) by komail01.kdc.capitalone.com with ESMTP/TLS/AES128-SHA; 20 Oct 2015 11:42:38 -0400 Received: from KDCPEXCMB13.cof.ds.capitalone.com ([169.254.1.50]) by kdcpexcasht03.cof.ds.capitalone.com ([10.37.194.13]) with mapi; Tue, 20 Oct 2015 11:42:38 -0400 From: "Ganelin, Ilya" To: "dev@apex.incubator.apache.org" Date: Tue, 20 Oct 2015 11:42:58 -0400 Subject: CodeStyle and CheckStyle Inconsistencies Thread-Topic: CodeStyle and CheckStyle Inconsistencies Thread-Index: AdELTfKXunoZ/r2wSMqr+HwtLcGaNA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable All - there are some issues I=92ve already run into with the CodeStyle/Chec= kStyle settings. I suggest we start a JIRA to track these unless you have a= preferred approach. 1) CheckStyle dictates that chained method calls be on different lines but = also dictates that a space may not precede a period. The below is thus inva= lid: Foo.bar .cat 2) Continuation Indent is set to 4 in CheckStyle but set to 2 by default in= CodeStyle 3) We should really enforce line limits (for the sake of readability) and s= hould therefore amend the wrapping behavior of methods. However, this will = require updating CheckStyle as well. = 4) We should enforce JavaDocs As an aside, could someone possibly speak to the lineage of the CheckStyle = and CodeStyle settings that we=92re presently using inside Apex? Did these = come from published settings (e.g. Google) or are these all in-house? Appreciate any input, thanks! ________________________________________________________ The information contained in this e-mail is confidential and/or proprietary= to Capital One and/or its affiliates and may only be used solely in perfor= mance of work or services for Capital One. The information transmitted here= with is intended only for use by the individual or entity to which it is ad= dressed. If the reader of this message is not the intended recipient, you a= re hereby notified that any review, retransmission, dissemination, distribu= tion, copying or other use of, or taking of any action in reliance upon thi= s information is strictly prohibited. If you have received this communicati= on in error, please contact the sender and delete the material from your co= mputer. ________________________________________________________ The information contained in this e-mail is confidential and/or proprietary= to Capital One and/or its affiliates and may only be used solely in perfor= mance of work or services for Capital One. The information transmitted here= with is intended only for use by the individual or entity to which it is ad= dressed. If the reader of this message is not the intended recipient, you a= re hereby notified that any review, retransmission, dissemination, distribu= tion, copying or other use of, or taking of any action in reliance upon thi= s information is strictly prohibited. If you have received this communicati= on in error, please contact the sender and delete the material from your co= mputer.