Skip to content

Commit d603306

Browse files
authored
Fix compilation warning in CollectionUtils affecting maven snapshot publication (opensearch-project#9149)
* Fix compilation warning in CollectionUtils affecting maven snapshot publication Signed-off-by: Craig Perkins <cwperx@amazon.com> * Use SuppressWarnings Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com>
1 parent 70e1b22 commit d603306

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/core/src/main/java/org/opensearch/core/common/util/CollectionUtils.java

+1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ public static void ensureNoSelfReferences(Object value, String messageHint) {
134134
}
135135
}
136136

137+
@SuppressWarnings("unchecked")
137138
private static Iterable<?> convert(Object value) {
138139
if (value == null) {
139140
return null;

0 commit comments

Comments
 (0)