hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hive/HowToContribute" by CarlSteinbach
Date Wed, 24 Feb 2010 00:07:55 GMT
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}}}.

Mime
View raw message