[HUDI-205] Let checkstyle ban Java and Guava Optional instead of using Option provided by Hudi (#834)
This commit is contained in:
@@ -9,4 +9,5 @@
|
|||||||
<suppress checks="indentation" files="HoodieLogFileCommand.java" lines="1-9999"/>
|
<suppress checks="indentation" files="HoodieLogFileCommand.java" lines="1-9999"/>
|
||||||
<!-- Member Names expected to start with "_" -->
|
<!-- Member Names expected to start with "_" -->
|
||||||
<suppress checks="naming" files="TestRecord.java" lines="1-9999"/>
|
<suppress checks="naming" files="TestRecord.java" lines="1-9999"/>
|
||||||
|
<suppress checks="IllegalImport" files="Option.java" />
|
||||||
</suppressions>
|
</suppressions>
|
||||||
|
|||||||
@@ -242,5 +242,8 @@
|
|||||||
<property name="exceptionVariableName" value="expected"/>
|
<property name="exceptionVariableName" value="expected"/>
|
||||||
</module>
|
</module>
|
||||||
<module name="CommentsIndentation"/>
|
<module name="CommentsIndentation"/>
|
||||||
|
<module name="IllegalImport">
|
||||||
|
<property name="illegalClasses" value="java.util.Optional, com.google.common.base.Optional" />
|
||||||
|
</module>
|
||||||
</module>
|
</module>
|
||||||
</module>
|
</module>
|
||||||
|
|||||||
Reference in New Issue
Block a user