Overview
While assessing #35195, I noticed that there are a few issues with our Checkstyle configuration regarding nullability annotations.
^(?!org\.jspecify|\.annotations).*(NonNull|Nullable)$
contains a|
.^(?!org\.jspecify|\.annotations).*(NonNull|Nullable)$
matches againstNonNull
but not againstNonnull
, and therefore incorrectly permits usage ofjavax.annotation.Nonnull
.- Some of the Checkstyle suppressions no longer apply.
Related Issues
-
35114
-
35195