-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Backport 2.x] [Refactor] Remaining Strings utility methods to core library (#9103) #9134
Merged
nknize
merged 2 commits into
opensearch-project:2.x
from
nknize:backport/backport-9103-to-2.x
Aug 5, 2023
Merged
[Backport 2.x] [Refactor] Remaining Strings utility methods to core library (#9103) #9134
nknize
merged 2 commits into
opensearch-project:2.x
from
nknize:backport/backport-9103-to-2.x
Aug 5, 2023
Conversation
This file contains 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
…rch-project#9103) This commit refactors the remaining Strings# utility methods from the duplicate :server:Strings class to the :libs:opensearch-core:Strings class. The CollectionUtils class (used by the Strings utility) is also refactored to the :libs:opensearch-common library and the unnecessary Strings.toString(XContentBuilder... static method is finally refactored as an instance method in XContentBuilder. The Strings class is also cleaned up for clarity. Signed-off-by: Nicholas Walter Knize <[email protected]> (cherry picked from commit 4c59810)
nknize
added
enhancement
Enhancement or improvement to existing feature or request
backport
PRs or issues specific to backporting features or enhancments
skip-changelog
v2.10.0
labels
Aug 5, 2023
nknize
requested review from
reta,
anasalkouz,
andrross,
Bukhtawar,
CEHENKLE,
dblock,
gbbafna,
setiah,
kartg,
kotwanikunal,
mch2,
owaiskazi19,
Rishikesh1159,
ryanbogan,
saratvemulapalli,
shwetathareja,
dreamer-89,
tlfeng,
VachaShah,
dbwiddis,
sachinpkale and
sohami
as code owners
August 5, 2023 16:20
Gradle Check (Jenkins) Run Completed with:
|
Compatibility status:
|
Signed-off-by: Nicholas Walter Knize <[email protected]>
Compatibility status:
|
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## 2.x #9134 +/- ##
============================================
+ Coverage 70.81% 70.83% +0.01%
- Complexity 57425 57504 +79
============================================
Files 4754 4753 -1
Lines 271688 271693 +5
Branches 40070 40070
============================================
+ Hits 192408 192448 +40
- Misses 62717 62827 +110
+ Partials 16563 16418 -145
|
Merging backport. This was already independently reviewed in #9103 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport
PRs or issues specific to backporting features or enhancments
enhancement
Enhancement or improvement to existing feature or request
skip-changelog
v2.10.0
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.
Backport 4c59810 from #9103.