mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
We do not have access to JDK 9 collection convenience methods in 7.x because we are compatible with JDK 8 there. Yet, we have recently added a substitute for these convenience methods that even delegate to the right places when running on JDK 9, to make backporting easier. This commit utilizes these new methods in the autoscaling codebase.