[ 
https://issues.apache.org/jira/browse/HADOOP-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477133
 ] 

David Bowen commented on HADOOP-1051:
-------------------------------------

Here's the config change to add indentation checking:

        <module name="Indentation">
          <property name="basicOffset" value="2" />
          <property name="caseIndent" value="2" />
        </module>

(The default sun_checks.xml does not check indentation.)



> Add checkstyle target to ant build file
> ---------------------------------------
>
>                 Key: HADOOP-1051
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1051
>             Project: Hadoop
>          Issue Type: Test
>          Components: build, test
>    Affects Versions: 0.11.2
>            Reporter: Tom White
>         Assigned To: Tom White
>         Attachments: checkstyle-errors.html, checkstyle.patch
>
>
> As discussed in HADOOP-948, add a target to allow people to run style checks 
> on the codebase.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to