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

ProfileValidationUtil readInfo failure #16

Closed
mikejritter opened this issue Mar 27, 2020 · 0 comments · Fixed by #25
Closed

ProfileValidationUtil readInfo failure #16

mikejritter opened this issue Mar 27, 2020 · 0 comments · Fixed by #25
Assignees

Comments

@mikejritter
Copy link
Contributor

In the readInfo method for the ProfileValidationUtil, the line.matches call will always fail because the regex is searching for a line which only contains spaces.

To fix this we could either use Matcher#find which will search for the occurrence, or update the regex to include a wildcard after the starting spaces.

@mikejritter mikejritter self-assigned this Apr 23, 2020
awoods pushed a commit that referenced this issue Apr 28, 2020
* Use find when matching on the space regex
* Validate the data being read in matches a single value

Resolves #16
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 a pull request may close this issue.

1 participant