TINKERPOP-3083: The split() step should provide a way to split an entire string#98
Closed
andreachild wants to merge 1 commit intoBit-Quill:4.0-backportfrom
Closed
TINKERPOP-3083: The split() step should provide a way to split an entire string#98andreachild wants to merge 1 commit intoBit-Quill:4.0-backportfrom
andreachild wants to merge 1 commit intoBit-Quill:4.0-backportfrom
Conversation
… StringUtil.split utility method which will split the given string into a list of individual string characters if the given separator is an empty string.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.0-backport #98 +/- ##
===============================================
Coverage ? 76.37%
Complexity ? 13238
===============================================
Files ? 1062
Lines ? 61574
Branches ? 7344
===============================================
Hits ? 47025
Misses ? 12029
Partials ? 2520 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Nit: CHANGELOG. Otherwise LGTM |
Author
|
Author
|
Closing and will reopen new PR against 3.8-dev |
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.
https://issues.apache.org/jira/browse/TINKERPOP-3083
Changed split() local and global steps to parse a string into individual characters if the separator is an empty string - previous implementation left the string intact. Introduced StringUtil utility class to reuse logic between the global and local step classes. Feature tests were executed using -DskipIntegrationTests=false and manual testing was executed using gremlin console with and without remote context.
Changelog entry to add when we have a designated section for it:
split()step to split a string into a list of its characters if the given separator is an empty string.Upgrade doc to add when we have a designated section for it:
This is a back port from master branch which is at version 4.0. Original PR: apache#2741