HBASE-20441 Use checkstyle to ban imports from commons-lang 2

Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
Balazs Meszaros 2018-04-19 14:06:56 +02:00 committed by Sean Busbey
parent 90fe98ae99
commit afb6d3ecce
1 changed files with 9 additions and 1 deletions

View File

@ -77,7 +77,15 @@
<property name="processJavadoc" value="true"/>
</module>
<module name="IllegalImport">
<property name="illegalPkgs" value="com.google.common, io.netty, org.apache.curator.shaded, org.apache.htrace.shaded, org.apache.commons.cli, org.apache.commons.collections, org.apache.commons.collections4"/>
<property name="illegalPkgs" value="
com.google.common,
io.netty,
org.apache.commons.cli,
org.apache.commons.collections,
org.apache.commons.collections4,
org.apache.commons.lang,
org.apache.curator.shaded,
org.apache.htrace.shaded"/>
</module>
<!-- Javadoc Checks
http://checkstyle.sourceforge.net/config_javadoc.html -->