Skip to content

Commit

Permalink
[GCI-142] add braces and indent (openmrs#3080)
Browse files Browse the repository at this point in the history
  • Loading branch information
ribhavsharma authored and dkayiwa committed Dec 12, 2019
1 parent 02515c0 commit 7ef7035
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/src/main/java/org/openmrs/CohortMembership.java
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ public boolean equals(Object otherCohortMembershipObject) {
return false;
}
CohortMembership otherCohortMembership = (CohortMembership)otherCohortMembershipObject;
if(this == otherCohortMembership) return true;
if(this == otherCohortMembership){
return true;
}


return ((endDate != null ) ? endDate.equals(otherCohortMembership.getEndDate()) : otherCohortMembership.getEndDate() == null)
Expand Down

0 comments on commit 7ef7035

Please sign in to comment.