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

feat: Pass severityLevel to constructor of some notices #863

Merged
merged 2 commits into from
Apr 22, 2021

Conversation

aababilov
Copy link
Collaborator

Pass severityLevel to constructor of notices for invalid email, phone and URL.

Some clients (e.g, Google) may want to reduce severity to WARNING.

…valid email, phone and URL

Some clients (e.g, Google) may want to reduce severity to WARNING.
long csvRowNumber,
String fieldName,
String fieldValue,
SeverityLevel severityLevel) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We might want yo document via javadocs why this second constructor is needed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

@lionel-nj lionel-nj left a comment

Choose a reason for hiding this comment

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

Thanks @aababilov! These small documentation changes would be nice to add to add to this PR.

@aababilov
Copy link
Collaborator Author

Thanks, PTAL!

Copy link
Contributor

@lionel-nj lionel-nj left a comment

Choose a reason for hiding this comment

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

Thanks @aababilov, LGTM.

@lionel-nj lionel-nj merged commit ec02c9b into MobilityData:master Apr 22, 2021
@aababilov
Copy link
Collaborator Author

Thanks for review!

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.

None yet

2 participants