HADOOP-17109. add guava BaseEncoding to illegalClasses (#2703)

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
Ahmed Hussein 2021-02-16 19:15:41 -06:00 committed by GitHub
parent 9882a22365
commit eac7aefaaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@
<module name="IllegalImport"> <module name="IllegalImport">
<property name="regexp" value="true"/> <property name="regexp" value="true"/>
<property name="illegalPkgs" value="sun, com\.google\.common"/> <property name="illegalPkgs" value="sun, com\.google\.common"/>
<property name="illegalClasses" value="^org\.apache\.hadoop\.thirdparty\.com\.google\.common\.base\.(Optional|Function|Predicate|Supplier), ^org\.apache\.hadoop\.thirdparty\.com\.google\.common\.collect\.(ImmutableListMultimap)"/> <property name="illegalClasses" value="^org\.apache\.hadoop\.thirdparty\.com\.google\.common\.io\.BaseEncoding, ^org\.apache\.hadoop\.thirdparty\.com\.google\.common\.base\.(Optional|Function|Predicate|Supplier), ^org\.apache\.hadoop\.thirdparty\.com\.google\.common\.collect\.(ImmutableListMultimap)"/>
</module> </module>
<module name="RedundantImport"/> <module name="RedundantImport"/>
<module name="UnusedImports"/> <module name="UnusedImports"/>