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

4601 email contact issues #4636

Merged
merged 4 commits into from
May 2, 2018
Merged

4601 email contact issues #4636

merged 4 commits into from
May 2, 2018

Conversation

sekmiller
Copy link
Contributor

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

  • Unit [tests][x] completed
  • Integration [tests][x]: None
  • Deployment requirements: [x]: None
  • Documentation completed
  • Merged latest from "develop" [branch][x] and resolved conflicts

@coveralls
Copy link

coveralls commented May 1, 2018

Coverage Status

Coverage decreased (-0.008%) to 13.371% when pulling 0c52d26 on 4601-email-contact-issues into 81bd2a4 on develop.

Copy link
Member

@pdurbin pdurbin left a 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();
Copy link
Member

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
Copy link
Contributor

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".

Copy link
Contributor Author

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?

Copy link
Member

Choose a reason for hiding this comment

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

@mheppler kudos on catching that. Fixed in 0c52d26 it looks like.

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@kcondon kcondon merged commit 9c79065 into develop May 2, 2018
@kcondon kcondon deleted the 4601-email-contact-issues branch May 2, 2018 18:56
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.

5 participants