Skip to content

Commit

Permalink
Fix compilation warning in CollectionUtils affecting maven snapshot p…
Browse files Browse the repository at this point in the history
…ublication (opensearch-project#9149)

* Fix compilation warning in CollectionUtils affecting maven snapshot publication

Signed-off-by: Craig Perkins <[email protected]>

* Use SuppressWarnings

Signed-off-by: Craig Perkins <[email protected]>

---------

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Ivan Brusic <[email protected]>
  • Loading branch information
cwperks authored and brusic committed Sep 25, 2023
1 parent ec3bbf0 commit 12deb8c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 12deb8c

Please sign in to comment.