-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix compilation warning in CollectionUtils affecting maven snapshot publication #9149
Fix compilation warning in CollectionUtils affecting maven snapshot publication #9149
Conversation
…ublication Signed-off-by: Craig Perkins <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets get this unblocked by merging,
- Can we get a follow up issue to make sure warnings as errors is on by default in the build
💯 agree. I noticed this failed on 2.x but not main. That has a bad smell to it, as if the build configs are different. But we should be pushing to main and backporting so I'm not sure why main didn't fail w/o the suppress warning but 2.x did fail? |
libs/core/src/main/java/org/opensearch/core/common/util/CollectionUtils.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Craig Perkins <[email protected]>
Compatibility status:
|
@peternied @nknize I filed an issue to investigate why the build on main did not catch this initially and see why there is a discrepancy between main and 2.x: #9150 |
Gradle Check (Jenkins) Run Completed with:
|
Compatibility status:
|
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #9149 +/- ##
============================================
- Coverage 71.06% 70.99% -0.07%
+ Complexity 57314 57280 -34
============================================
Files 4766 4765 -1
Lines 270453 270479 +26
Branches 39555 39553 -2
============================================
- Hits 192197 192040 -157
- Misses 62045 62256 +211
+ Partials 16211 16183 -28
|
…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: Kaushal Kumar <[email protected]>
…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]>
…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: Shivansh Arora <[email protected]>
Description
Maven snapshot publication started failing after: #9120
The error stemmed from a compilation warning:
See: https://github.com/opensearch-project/OpenSearch/actions/runs/5767554873/job/15637408847
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.