From 386360b5da876e6c808fcd3033a4baf51177a513 Mon Sep 17 00:00:00 2001 From: MANISH-K-07 Date: Sun, 17 Mar 2024 10:48:20 +0530 Subject: [PATCH] minor: Suppressed nullness Checker error via patch --- ...ecker-nullness-optional-interning-suppressions.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/checker-framework-suppressions/checker-nullness-optional-interning-suppressions.xml b/config/checker-framework-suppressions/checker-nullness-optional-interning-suppressions.xml index 1565d4fdd3c..9b4d05041f9 100644 --- a/config/checker-framework-suppressions/checker-nullness-optional-interning-suppressions.xml +++ b/config/checker-framework-suppressions/checker-nullness-optional-interning-suppressions.xml @@ -21,6 +21,17 @@ return result.toArray(EMPTY_MODIFIER_ARRAY); + + src/main/java/com/puppycrawl/tools/checkstyle/Checker.java + argument + incompatible argument for parameter args of Checker.getLocalizedMessage. + getLocalizedMessage("Checker.setupChildModule", name, ex.getMessage()), ex); +
+ found : @Initialized @Nullable String + required: @Initialized @NonNull Object +
+
+ src/main/java/com/puppycrawl/tools/checkstyle/Checker.java argument