You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by co...@apache.org on 2017/08/10 15:21:40 UTC

sentry git commit: Exclude TooManyStaticImports from PMD ruleset

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 <co...@apache.org>
Authored: Thu Aug 10 16:21:29 2017 +0100
Committer: Colm O hEigeartaigh <co...@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" />