From 94b960a992c711327896e876f43fc34a54e15d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Fri, 18 Dec 2020 19:35:52 +0100 Subject: [PATCH] :bug: Fix suppression in AnnotationParser --- .../cloud/commandframework/annotations/AnnotationParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-annotations/src/main/java/cloud/commandframework/annotations/AnnotationParser.java b/cloud-annotations/src/main/java/cloud/commandframework/annotations/AnnotationParser.java index 0e0e754c..137bf229 100644 --- a/cloud-annotations/src/main/java/cloud/commandframework/annotations/AnnotationParser.java +++ b/cloud-annotations/src/main/java/cloud/commandframework/annotations/AnnotationParser.java @@ -480,7 +480,7 @@ public final class AnnotationParser { builder = builder.flag(flag); } for (final Annotation annotation : method.getDeclaredAnnotations()) { - @SuppressWarnings("ALL") + @SuppressWarnings("rawtypes") final BiFunction builderModifier = this.builderModifiers.get(annotation.annotationType()); if (builderModifier == null) { continue;