You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Praveendra Singh (JIRA)" <ji...@apache.org> on 2018/07/30 21:56:01 UTC

[jira] [Created] (ZOOKEEPER-3107) Coding standard and Checkstyle

Praveendra Singh created ZOOKEEPER-3107:
-------------------------------------------

             Summary: Coding standard and Checkstyle
                 Key: ZOOKEEPER-3107
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3107
             Project: ZooKeeper
          Issue Type: Improvement
          Components: build
            Reporter: Praveendra Singh


I'm new to the Zookeeper as a contributor.

Was going through [https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute] a and noticed that link to [Sun's conventions|http://www.oracle.com/technetwork/java/codeconv-138413.html] doesn't work. Did some googling and noticed that it is archived at [https://www.oracle.com/technetwork/java/javase/overview/codeconvtoc-136057.html].

 

Do we still use this coding standard?

Apart from the code styling rules, we have additional ones listed on the Contributor Guide.

Instead of letting everyone remember all the rules, should we force it at build time?

 

There is a [Maven Checkstyle Plugin|https://maven.apache.org/plugins/maven-checkstyle-plugin/]  which can be leveraged.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)