-
Notifications
You must be signed in to change notification settings - Fork 492
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
4601 email contact issues #4636
Conversation
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.
Let's delete EMAIL_PATTERN
from StringUtil.java
if it's easy to.
if (s == null) { | ||
return false; | ||
} | ||
return EMAIL_PATTERN.matcher(s).matches(); |
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.
Can we delete EMAIL_PATTERN
in StringUtil.java
?
@@ -37,6 +37,11 @@ public void testIsEmailValid() { | |||
assertEquals(false, EMailValidator.isEmailValid("dora@.com", null)); | |||
assertEquals(false, EMailValidator.isEmailValid("", null)); | |||
assertEquals(false, EMailValidator.isEmailValid(null, null)); | |||
/* | |||
Add tests for 4601 |
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 should reformat this emails in the test to be a little less "real".
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.
I added a couple that came directly from the RT tickets referenced in the issue (that are now passing validation). What else did you have in mind?
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.
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.
👍
New Contributors
Welcome! New contributors should at least glance at CONTRIBUTING.md, especially the section on pull requests where we encourage you to reach out to other developers before you start coding. Also, please note that we measure code coverage and prefer you write unit tests. Pull requests can still be reviewed without tests or completion of the checklist outlined below. Thanks!
Related Issues
Pull Request Checklist