sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject sentry git commit: Exclude TooManyStaticImports from PMD ruleset
Date Thu, 10 Aug 2017 15:21:40 GMT
Repository: sentry
Updated Branches:
  refs/heads/master 92a183f66 -> 9681099b3


Exclude TooManyStaticImports from PMD ruleset


Project: http://git-wip-us.apache.org/repos/asf/sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/sentry/commit/9681099b
Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/9681099b
Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/9681099b

Branch: refs/heads/master
Commit: 9681099b330eadc498aff4d368129179c793f923
Parents: 92a183f
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Aug 10 16:21:29 2017 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Aug 10 16:21:29 2017 +0100

----------------------------------------------------------------------
 build-tools/sentry-pmd-ruleset.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/9681099b/build-tools/sentry-pmd-ruleset.xml
----------------------------------------------------------------------
diff --git a/build-tools/sentry-pmd-ruleset.xml b/build-tools/sentry-pmd-ruleset.xml
index 8efaed5..aea5ae9 100644
--- a/build-tools/sentry-pmd-ruleset.xml
+++ b/build-tools/sentry-pmd-ruleset.xml
@@ -30,7 +30,9 @@
     <exclude name="AvoidUsingHardCodedIP"/>
   </rule>
   <rule ref="rulesets/java/unusedcode.xml"/>
-  <rule ref="rulesets/java/imports.xml"/>
+  <rule ref="rulesets/java/imports.xml">
+    <exclude name="TooManyStaticImports"/>
+  </rule>
   <rule ref="rulesets/java/braces.xml"/>
   <rule ref="rulesets/java/empty.xml">
     <exclude name="EmptyCatchBlock" />


Mime
View raw message