-
Notifications
You must be signed in to change notification settings - Fork 100
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
Conversation
…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) { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
core/src/main/java/org/mobilitydata/gtfsvalidator/notice/InvalidPhoneNumberNotice.java
Show resolved
Hide resolved
core/src/main/java/org/mobilitydata/gtfsvalidator/notice/InvalidUrlNotice.java
Show resolved
Hide resolved
There was a problem hiding this 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.
Thanks, PTAL! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @aababilov, LGTM.
Thanks for review! |
Pass severityLevel to constructor of notices for invalid email, phone and URL.
Some clients (e.g, Google) may want to reduce severity to WARNING.