Skip to content

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

Closed
wants to merge 3 commits into from
Closed

BATCH-2849 Account For Different Whitespaces In Keyword Removal #738

wants to merge 3 commits into from

Conversation

BenjaminHetzjelli
Copy link
Contributor

@BenjaminHetzjelli BenjaminHetzjelli commented Oct 18, 2019

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.

Add unit tests for trimming whitespace.

Resolves BATCH-2849

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.
@BenjaminHetzjelli
Copy link
Contributor Author

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.

@fmbenhassine
Copy link
Contributor

Hi @BenjaminHetzjelli

Thank you for the PR! I will let you know in which release BATCH-2849 will be included.

I'm just wondering if I missed a step in the contribution guidelines.

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

@BenjaminHetzjelli
Copy link
Contributor Author

Thank you!

@fmbenhassine fmbenhassine added the status: waiting-for-reporter Issues for which we are waiting for feedback from the reporter label Feb 28, 2020
Modify test variable names in tests to be more clear.
Update copyright year to 2020.
@fmbenhassine fmbenhassine removed the status: waiting-for-reporter Issues for which we are waiting for feedback from the reporter label Mar 2, 2020
@fmbenhassine
Copy link
Contributor

LGTM now. Rebased, squashed and merged as 7f01bf7. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has: backports Legacy label from JIRA. Superseded by "for: backport-to-x.x.x" in: infrastructure pr-for: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants