From cacaa7684e4bcbd64680ba03c898581f87323cd1 Mon Sep 17 00:00:00 2001 From: Nicholas Walter Knize Date: Fri, 4 Aug 2023 17:06:32 -0500 Subject: [PATCH] add suppress warning Signed-off-by: Nicholas Walter Knize --- .../java/org/opensearch/core/common/util/CollectionUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/core/src/main/java/org/opensearch/core/common/util/CollectionUtils.java b/libs/core/src/main/java/org/opensearch/core/common/util/CollectionUtils.java index 5cb8b900814b9..e8dd31fcf1869 100644 --- a/libs/core/src/main/java/org/opensearch/core/common/util/CollectionUtils.java +++ b/libs/core/src/main/java/org/opensearch/core/common/util/CollectionUtils.java @@ -134,6 +134,7 @@ public static void ensureNoSelfReferences(Object value, String messageHint) { } } + @SuppressWarnings("unchecked") private static Iterable convert(Object value) { if (value == null) { return null;