Skip to content

Commit bce77aa

Browse files
committed
Block rxjava3 nullable/nonnull imports in checkstyle
1 parent f2e3020 commit bce77aa

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

checkstyle/checkstyle.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,13 @@
9696
<!-- See https://checkstyle.org/config_import.html -->
9797
<module name="AvoidStarImport"/>
9898
<module name="IllegalImport"> <!-- defaults to sun.* packages -->
99-
<property name="illegalClasses" value="org.jetbrains.annotations.Nullable, org.jetbrains.annotations.NotNull, javax.annotation.Nullable, javax.annotation.Nonnull" />
99+
<property name="illegalClasses" value="
100+
org.jetbrains.annotations.Nullable,
101+
org.jetbrains.annotations.NotNull,
102+
javax.annotation.Nullable,
103+
javax.annotation.Nonnull,
104+
io.reactivex.rxjava3.annotations.NonNull,
105+
io.reactivex.rxjava3.annotations.Nullable" />
100106
</module>
101107
<module name="RedundantImport"/>
102108
<module name="UnusedImports"/>

0 commit comments

Comments
 (0)