Skip to content

Commit

Permalink
Prevent only specific javax imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed May 2, 2022
1 parent a6e4e60 commit 3f9f0a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/checkstyle-configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@
<module name="UpperEll"/>
<module name="IllegalCatch"/>
<module name="IllegalImport">
<property name="illegalPkgs" value="net.jcip.annotations, javax.annotation"/>
<property name="illegalClasses" value="edu.umd.cs.findbugs.annotations.Nullable"/>
<property name="illegalPkgs" value="net.jcip.annotations"/>
<property name="illegalClasses" value="edu.umd.cs.findbugs.annotations.Nullable, javax.annotation.Nullable, javax.annotation.CheckForNull, javax.annotation.Nonnull"/>
<property name="severity" value="error"/>
</module>
</module>
Expand Down

0 comments on commit 3f9f0a8

Please # to comment.