falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srik...@apache.org
Subject [40/47] git commit: checkstyle related changes - disables ALL CAPS for final local variables and enables failOnViolation for checkstyle errors.
Date Fri, 26 Apr 2013 15:50:56 GMT
checkstyle related changes - disables ALL CAPS for final local variables and enables failOnViolation
for checkstyle errors.


Project: http://git-wip-us.apache.org/repos/asf/incubator-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-falcon/commit/12889e2a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-falcon/tree/12889e2a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-falcon/diff/12889e2a

Branch: refs/heads/master
Commit: 12889e2a8b0389d6f281e4eed4839caf10341099
Parents: ca7c16a
Author: venkatesh <venkatesh@hortonworks.com>
Authored: Tue Apr 23 13:25:12 2013 -0700
Committer: venkatesh <venkatesh@hortonworks.com>
Committed: Tue Apr 23 13:25:12 2013 -0700

----------------------------------------------------------------------
 .../src/main/resources/falcon/checkstyle.xml       |    2 +-
 pom.xml                                            |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/12889e2a/build-tools/src/main/resources/falcon/checkstyle.xml
----------------------------------------------------------------------
diff --git a/build-tools/src/main/resources/falcon/checkstyle.xml b/build-tools/src/main/resources/falcon/checkstyle.xml
index 3853c5c..0d60e27 100644
--- a/build-tools/src/main/resources/falcon/checkstyle.xml
+++ b/build-tools/src/main/resources/falcon/checkstyle.xml
@@ -87,7 +87,7 @@
             <property name="format" value="^[A-Z]+$"/>
         </module>
         <module name="LocalFinalVariableName">
-            <property name="format" value="^[A-Z][_A-Z0-9]*$"/>
+            <!--<property name="format" value="^[A-Z][_A-Z0-9]*$"/>-->
         </module>
         <module name="LocalVariableName"/>
         <module name="MemberName"/>

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/12889e2a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ef53e37..67fd237 100644
--- a/pom.xml
+++ b/pom.xml
@@ -723,7 +723,7 @@
                             <consoleOutput>true</consoleOutput>
                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
                             <configLocation>falcon/checkstyle.xml</configLocation>
-                            <failOnViolation>false</failOnViolation>
+                            <failOnViolation>true</failOnViolation>
                         </configuration>
                     </execution>
                 </executions>


Mime
View raw message