cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3649) Code style changes, aka The Big Reformat
Date Tue, 20 Dec 2011 16:16:30 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173275#comment-13173275
] 

Jonathan Ellis commented on CASSANDRA-3649:
-------------------------------------------

bq. If we simply adopted java standard then new contributors and people who work on multiple
java projects don't need to worry about codestyle since it's the "default".

Changing brace policy will help, but it won't be a magic bullet.  Partly because we have other
idiosyncracies, such as alignment of multiline method arguments (which I think is a *huge*
improvement over the Oracle standard) and partly because many people who think they are following
Oracle style, don't.  Especially with respect to spacing around parenthesis and operators.
                
> Code style changes, aka The Big Reformat
> ----------------------------------------
>
>                 Key: CASSANDRA-3649
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3649
>             Project: Cassandra
>          Issue Type: Wish
>          Components: Core
>            Reporter: Brandon Williams
>             Fix For: 1.2
>
>
> With a new major release coming soon and not having a ton of huge pending patches that
have prevented us from doing this in the past, post-freeze looks like a good time to finally
do this.  Mostly this will include the removal of underscores in private variables, and no
more brace-on-newline policy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message