1
0

[HUDI-205] Let checkstyle ban Java and Guava Optional instead of using Option provided by Hudi (#834)

This commit is contained in:
vinoyang
2019-08-14 08:13:52 +08:00
committed by vinoth chandar
parent 4787076c6d
commit 8f5e7ad5d9
2 changed files with 4 additions and 0 deletions

View File

@@ -9,4 +9,5 @@
<suppress checks="indentation" files="HoodieLogFileCommand.java" lines="1-9999"/>
<!-- Member Names expected to start with "_" -->
<suppress checks="naming" files="TestRecord.java" lines="1-9999"/>
<suppress checks="IllegalImport" files="Option.java" />
</suppressions>

View File

@@ -242,5 +242,8 @@
<property name="exceptionVariableName" value="expected"/>
</module>
<module name="CommentsIndentation"/>
<module name="IllegalImport">
<property name="illegalClasses" value="java.util.Optional, com.google.common.base.Optional" />
</module>
</module>
</module>