From 6e6280a42c6ed3c9446f23bdf2981e6dd51c93ce Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Wed, 25 Jun 2025 20:43:48 +0200 Subject: [PATCH] Disallow @org.jetbrains.annotations.Nullable imports This commit adds a checkstyle rule that rejects `@org.jetbrains.annotations.Nullable` imports in the source code. See gh-35114 --- src/checkstyle/checkstyle.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checkstyle/checkstyle.xml b/src/checkstyle/checkstyle.xml index d7ba423332f..a0e0b8d47f4 100644 --- a/src/checkstyle/checkstyle.xml +++ b/src/checkstyle/checkstyle.xml @@ -107,7 +107,7 @@ + value="^reactor\.core\.support\.Assert,^org\.slf4j\.LoggerFactory,^(?!org\.jspecify|\.annotations).*(NonNull|Nullable),^org\.jetbrains\.annotations\.Nullable$"/>