Skip to content
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

Replace a split method by a StringTokenizer clas to parse run param. #124

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

piotrhoppe
Copy link
Contributor

Issue #123

In current implementation for split "Run Paramteres" of project is used split method that split a String by space. I that not handle qouted parameters with spaces and split it by space that not allow to pass the text as parameter with spaces.

To handle this situation the split method are replaced by use the StringTokenizer class, that support single (`) and duble (") quote that arrond the tekst as a params.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution and helping move this project forward

In current implementation for split "Run Paramteres" of project
is used split method that split a String by space. I that not handle
qouted parameters with spaces and split it by space that not allow
to pass the text as parameter with spaces.

To handle this situation the split method are replaced by use the
StringTokenizer class, that support single (`) and duble (") quote
that arrond the tekst as a params.

Task: albilu#123
@piotrhoppe piotrhoppe force-pushed the the-run-parameters-issue branch from 14ac4c7 to ce4077a Compare October 16, 2024 18:21
@albilu albilu merged commit 4c76adc into albilu:master Oct 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants