Block rxjava3 nullable/nonnull imports in checkstyle

This commit is contained in:
Stypox 2022-11-28 14:28:08 +01:00
parent f2e3020f9d
commit bce77aaec7
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23

View file

@ -96,7 +96,13 @@
<!-- See https://checkstyle.org/config_import.html -->
<module name="AvoidStarImport"/>
<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 name="RedundantImport"/>
<module name="UnusedImports"/>