Fix compilation warning in CollectionUtils affecting maven snapshot publication#9149
Merged
dbwiddis merged 2 commits intoopensearch-project:mainfrom Aug 7, 2023
Merged
Conversation
…ublication Signed-off-by: Craig Perkins <cwperx@amazon.com>
Member
Author
3 tasks
5 tasks
peternied
approved these changes
Aug 7, 2023
Member
peternied
left a comment
There was a problem hiding this comment.
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
Contributor
💯 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? |
nknize
suggested changes
Aug 7, 2023
libs/core/src/main/java/org/opensearch/core/common/util/CollectionUtils.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Craig Perkins <cwperx@amazon.com>
nknize
approved these changes
Aug 7, 2023
Contributor
|
Compatibility status: |
Member
Author
|
@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 |
dbwiddis
approved these changes
Aug 7, 2023
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
|
Compatibility status: |
Contributor
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
|
kaushalmahi12
pushed a commit
to kaushalmahi12/OpenSearch
that referenced
this pull request
Sep 12, 2023
…ublication (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> Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
brusic
pushed a commit
to brusic/OpenSearch
that referenced
this pull request
Sep 25, 2023
…ublication (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> Signed-off-by: Ivan Brusic <ivan.brusic@flocksafety.com>
shiv0408
pushed a commit
to Gaurav614/OpenSearch
that referenced
this pull request
Apr 25, 2024
…ublication (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> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.