You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by lp...@apache.org on 2017/08/14 12:02:27 UTC
[14/32] ambari git commit: AMBARI-21701. Add check for import from
relocated packages
AMBARI-21701. Add check for import from relocated packages
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8895386b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8895386b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8895386b
Branch: refs/heads/feature-branch-AMBARI-21307
Commit: 8895386bcc7b122788ae2af42031ff0e786c7733
Parents: 7a3ffea
Author: Attila Doroszlai <ad...@hortonworks.com>
Authored: Thu Aug 10 15:40:56 2017 +0200
Committer: Attila Doroszlai <ad...@hortonworks.com>
Committed: Thu Aug 10 16:50:45 2017 +0200
----------------------------------------------------------------------
ambari-server/checkstyle.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/8895386b/ambari-server/checkstyle.xml
----------------------------------------------------------------------
diff --git a/ambari-server/checkstyle.xml b/ambari-server/checkstyle.xml
index fb314bc..f1fc3a1 100644
--- a/ambari-server/checkstyle.xml
+++ b/ambari-server/checkstyle.xml
@@ -23,7 +23,9 @@
<!-- imports -->
<module name="AvoidStarImport"/>
- <module name="IllegalImport"/>
+ <module name="IllegalImport">
+ <property name="illegalPkgs" value="sun, org.apache.hadoop.metrics2.sink.relocated"/>
+ </module>
<module name="ImportOrder">
<property name="groups" value="java,javax,org,com,*"/>
<property name="ordered" value="true"/>