-
Notifications
You must be signed in to change notification settings - Fork 2.4k
BATCH-2849 Account For Different Whitespaces In Keyword Removal #738
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
BATCH-2849 Account For Different Whitespaces In Keyword Removal #738
Conversation
Modify `removeKeyWord(...)` such that the keyword is removed regardless of what kind of whitespace follows. This is especially useful for those who read in SQL from a file which has been formatted such that keywords live on their own lines. Added unit tests for trimming whitespace.
Hello @benas. I notice you are the one marking most of the recent pull requests as ready to review etc. I'm just wondering if I missed a step in the contribution guidelines. If it's just a case of this being a low priority change for a relatively infrequent use case that's fine. I just wanted to make sure that I didn't forget something. |
Thank you for the PR! I will let you know in which release BATCH-2849 will be included.
The PR LGTM at first glance. Don't hesitate to update the year in the license header and add your name to the authors list, see: https://github.com/spring-projects/spring-batch/blob/master/CONTRIBUTING.md#update-license-header-to-modified-files-as-necessary |
Thank you! |
...ava/org/springframework/batch/item/database/support/AbstractSqlPagingQueryProviderTests.java
Outdated
Show resolved
Hide resolved
...ava/org/springframework/batch/item/database/support/AbstractSqlPagingQueryProviderTests.java
Outdated
Show resolved
Hide resolved
...ain/java/org/springframework/batch/item/database/support/AbstractSqlPagingQueryProvider.java
Outdated
Show resolved
Hide resolved
Modify test variable names in tests to be more clear. Update copyright year to 2020.
LGTM now. Rebased, squashed and merged as 7f01bf7. Thank you! |
Modify
removeKeyWord(...)
such that the keyword is removed regardlessof what kind of whitespace follows. This is especially useful for those
who read in SQL from a file which has been formatted such that keywords
live on their own lines.
Add unit tests for trimming whitespace.
Resolves BATCH-2849