You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2010/02/25 01:40:17 UTC
[Hadoop Wiki] Update of "Hive/HowToContribute" by ZhengShao
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The "Hive/HowToContribute" page has been changed by ZhengShao.
http://wiki.apache.org/hadoop/Hive/HowToContribute?action=diff&rev1=18&rev2=19
--------------------------------------------------
Modify the source code and add some (very) nice features using your favorite IDE.<<BR>>
+ === Coding Convention ===
- But take care about the following points
+ Please take care about the following points
* All public classes and methods should have informative [[http://java.sun.com/j2se/javadoc/writingdoccomments/|Javadoc comments]].
* Do not use @author tags.
* Code should be formatted according to [[http://java.sun.com/docs/codeconv/|Sun's conventions]], with one exception:
- * Indent two spaces per level, not four.
+ * Indent two (2) spaces per level, not four (4).
+ * Line length limit is 100 chars, instead of 80 chars.
* Contributions should not introduce new Checkstyle violations.
* Check for new [[http://checkstyle.sourceforge.net/|Checkstyle]] violations by running {{{ant checkstyle}}}, and then inspect the results in the {{{build/checkstyle}}} directory.
* If you use Eclipse you should install the [[http://eclipse-cs.sourceforge.net/|eclipse-cs Checkstyle plugin]]. This plugin highlights violations in your code and is also able to automatically correct some types of violations.