aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wfar...@apache.org
Subject incubator-aurora git commit: Use checkstyle 6.2.
Date Mon, 02 Feb 2015 19:09:04 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master f22b538fb -> 0c1389752


Use checkstyle 6.2.

Bugs closed: AURORA-1081

Reviewed at https://reviews.apache.org/r/30480/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/0c138975
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/0c138975
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/0c138975

Branch: refs/heads/master
Commit: 0c1389752096a798182e5182256d6887ef46bbd7
Parents: f22b538
Author: Bill Farner <wfarner@apache.org>
Authored: Mon Feb 2 10:11:51 2015 -0800
Committer: Bill Farner <wfarner@apache.org>
Committed: Mon Feb 2 11:08:22 2015 -0800

----------------------------------------------------------------------
 build.gradle                     | 1 +
 config/checkstyle/checkstyle.xml | 5 +----
 2 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/0c138975/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index d122d2f..8cec4a7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -322,6 +322,7 @@ codeQualityTasks.each {
 
 checkstyle {
   sourceSets = [sourceSets.main , sourceSets.test, sourceSets.jmh]
+  toolVersion = 6.2
 }
 
 tasks.withType(FindBugs) {

http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/0c138975/config/checkstyle/checkstyle.xml
----------------------------------------------------------------------
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index 2070989..c4c6c44 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -225,10 +225,7 @@ limitations under the License.
     <module name="NoFinalizer"/>
     <module name="SuperClone"/>
     <module name="SuperFinalize"/>
-    <module name="PackageDeclaration">
-      <property name="ignoreDirectoryName" value="true"/>
-    </module>
-    <module name="JUnitTestCase"/>
+    <module name="PackageDeclaration" />
     <module name="ParameterAssignment"/>
     <module name="DefaultComesLast"/>
     <module name="FallThrough"/>


Mime
View raw message