Skip to content

Commit f2e3020

Browse files
committed
checkstyle: declare org.jetbrains and javax.annotation Nullable's and NotNull/Nonnull as illegal imports
1 parent 6b89b44 commit f2e3020

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

checkstyle/checkstyle.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@
9595
<!-- Checks for imports -->
9696
<!-- See https://checkstyle.org/config_import.html -->
9797
<module name="AvoidStarImport"/>
98-
<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
98+
<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" />
100+
</module>
99101
<module name="RedundantImport"/>
100102
<module name="UnusedImports"/>
101103

0 commit comments

Comments
 (0)