mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-13 06:37:38 +00:00
Block rxjava3 nullable/nonnull imports in checkstyle
This commit is contained in:
@@ -96,7 +96,13 @@
|
|||||||
<!-- 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" />
|
<property name="illegalClasses" value="
|
||||||
|
org.jetbrains.annotations.Nullable,
|
||||||
|
org.jetbrains.annotations.NotNull,
|
||||||
|
javax.annotation.Nullable,
|
||||||
|
javax.annotation.Nonnull,
|
||||||
|
io.reactivex.rxjava3.annotations.NonNull,
|
||||||
|
io.reactivex.rxjava3.annotations.Nullable" />
|
||||||
</module>
|
</module>
|
||||||
<module name="RedundantImport"/>
|
<module name="RedundantImport"/>
|
||||||
<module name="UnusedImports"/>
|
<module name="UnusedImports"/>
|
||||||
|
Reference in New Issue
Block a user