mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 02:53:09 +01:00
checkstyle: declare org.jetbrains and javax.annotation Nullable's and NotNull/Nonnull as illegal imports
This commit is contained in:
parent
6b89b44dcd
commit
f2e3020f9d
@ -95,7 +95,9 @@
|
|||||||
<!-- Checks for imports -->
|
<!-- Checks for imports -->
|
||||||
<!-- See https://checkstyle.org/config_import.html -->
|
<!-- See https://checkstyle.org/config_import.html -->
|
||||||
<module name="AvoidStarImport"/>
|
<module name="AvoidStarImport"/>
|
||||||
<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
|
<module name="IllegalImport"> <!-- defaults to sun.* packages -->
|
||||||
|
<property name="illegalClasses" value="org.jetbrains.annotations.Nullable, org.jetbrains.annotations.NotNull, javax.annotation.Nullable, javax.annotation.Nonnull" />
|
||||||
|
</module>
|
||||||
<module name="RedundantImport"/>
|
<module name="RedundantImport"/>
|
||||||
<module name="UnusedImports"/>
|
<module name="UnusedImports"/>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user