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 CarlSteinbach. The comment on this change is: Add directions for running Checkstyle. http://wiki.apache.org/hadoop/Hive/HowToContribute?action=diff&rev1=17&rev2=18 -------------------------------------------------- * 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. + * 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. * Contributions should pass existing unit tests. * New unit tests should be provided to demonstrate bugs and fixes. [[http://www.junit.org|JUnit]] is our test framework: * You must implement a class that extends {{{junit.framework.TestCase}}} and whose class name starts with {{{Test}}}.
