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;