All - there are some issues I’ve already run into with the CodeStyle/CheckStyle
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 invalid:
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
should 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’re 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 performance of
work or services for Capital One. The information transmitted herewith is
intended only for use by the individual or entity to which it is addressed. If
the reader of this message is not the intended recipient, you are hereby
notified that any review, retransmission, dissemination, distribution, copying
or other use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error, please
contact the sender and delete the material from your computer.
________________________________________________________
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 performance of
work or services for Capital One. The information transmitted herewith is
intended only for use by the individual or entity to which it is addressed. If
the reader of this message is not the intended recipient, you are hereby
notified that any review, retransmission, dissemination, distribution, copying
or other use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error, please
contact the sender and delete the material from your computer.