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

unify checks for user-provided regular expressions + random refactoring #1607

Merged
merged 1 commit into from
Nov 30, 2018

Conversation

ivangalkin
Copy link
Contributor

@ivangalkin ivangalkin commented Nov 29, 2018

  • check all user-provided regular expressions if they are empty
    -> throw if empty or not compilable
  • avoid string comparisor for token value
    -> compare token types if possible
  • unify and simplify the read functionality if content of entire file is required
  • minor refactoring

This change is Reviewable

@ivangalkin ivangalkin added this to the 1.2.1 milestone Nov 29, 2018
@ivangalkin ivangalkin self-assigned this Nov 29, 2018
@ivangalkin ivangalkin requested review from Bertk and guwirth November 29, 2018 23:35
@guwirth
Copy link
Collaborator

guwirth commented Nov 30, 2018

@ivangalkin please rebase that I can merge it.

* check all user-provided regular expressions if they are empty
  -> throw if empty or not compilable
* avoid string comparisor for token value
  -> compare token types if possible
* unify and simplify the read functionality if content of entire file
  is required
* minor refactoring
@ivangalkin
Copy link
Contributor Author

@guwirth

@ivangalkin please rebase that I can merge it.

done, thank you in advance

@guwirth guwirth merged commit c8cd63b into SonarOpenCommunity:master Nov 30, 2018
@guwirth guwirth mentioned this pull request Dec 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants