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

TRUNK-4869: added deathDate validation if it is set in future. BirthD… #1857

Merged
merged 1 commit into from Oct 16, 2016

Conversation

samshuster
Copy link
Contributor

@samshuster samshuster commented Oct 15, 2016

Description

Related Issue

see https://issues.openmrs.org/browse/TRUNK-

Checklist:

  • My pull request only contains one single commit.
  • My pull request is based on the latest master branch
    git pull --rebase upstream master.
  • I ran mvn clean package right before creating this pull request and
    added all formatting changes to my commit.
  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

…ate validation already existed

TRUNK-4869: added javadocs to all methods. Fixed naming

@mention-bot
Copy link

@samshuster, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bmamlin and @suniala to be potential reviewers.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 55.265% when pulling 7ac06ed on samshuster:TRUNK-4869 into 6e98a8c on openmrs:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 55.396% when pulling 8a25aa0 on samshuster:TRUNK-4869 into 6e98a8c on openmrs:master.

@samshuster
Copy link
Contributor Author

first pull request for this project. I think i followed all directions!

@@ -166,8 +185,7 @@ public void validate_shouldFailValidationIfFieldLengthsAreNotCorrect() throws Ex
person.setBirthdate(new Date());
person.setGender("too long text too long too long text too long text too long text");
person.setPersonVoided(true);
person
Copy link
Member

Choose a reason for hiding this comment

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

Did you touch this? Or did you forget to run mvn clean install before committing as advised at https://wiki.openmrs.org/display/docs/Pull+Request+Tips

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 ran the formatter on the whole file and it removed the new line here from a previous commit. You are right though that it has nothing to do with my changes. Should I only run formatting on the blocks that I add?

Copy link
Member

Choose a reason for hiding this comment

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

We only recommend doing mvn clean install on the whole project. This should not have any formatting in places you have not touched.

…ate validation already existed

TRUNK-4869: added javadocs to all methods. Fixed naming

TRUNK-4869: fixing formatting

removing formatting to unrelated changes
@coveralls
Copy link

Coverage Status

Coverage increased (+0.005%) to 55.256% when pulling 2ffdf76 on samshuster:TRUNK-4869 into 6e98a8c on openmrs:master.

@samshuster
Copy link
Contributor Author

I see thanks for your patience @dkayiwa. I removed the formatting change that was introduced by accident.

I made sure the project builds with a mvn clean install.

@dkayiwa dkayiwa merged commit c907036 into openmrs:master Oct 16, 2016
@samshuster samshuster deleted the TRUNK-4869 branch October 16, 2016 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants