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-3959 - TRUNK-3955 #271

Closed
wants to merge 3 commits into from
Closed

TRUNK-3959 - TRUNK-3955 #271

wants to merge 3 commits into from

Conversation

gordonbr
Copy link
Contributor

I've fixed this bug just replacing != for .equals with the correct logic.

In the trunk 3955 I've change to pass a new Location instead of a string "".

@rkorytkowski
Copy link
Member

Could you please correct a commit message in gordonbr@ce561b3 ? Include just a ticket id and a title. For the future please do not send pull requests from your master branch, but create a topic branch for each ticket.

@rkorytkowski
Copy link
Member

Could you please claim issues in JIRA as well?

@ghost ghost assigned rkorytkowski Apr 11, 2013
@wluyima
Copy link
Member

wluyima commented Jun 11, 2013

Good point Daniel about using StringUtils, i will make the change and push the code to master

@@ -192,7 +192,7 @@ public Cohort generatePatientSet(EvaluationContext context) {
cohort = new Cohort(getPatientIds());
}

if (location != null && !location.equals("")) {
if (location != null && !location.equals(new Location())) {
Copy link
Member

Choose a reason for hiding this comment

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

I think Daniel is correct, i think having !location.equals(new Location()) here is pointless, is it meant to check that location.name is not empty?

@wluyima wluyima closed this Jun 11, 2013
RandilaP pushed a commit to RandilaP/openmrs-core that referenced this pull request Jul 31, 2023
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.

None yet

3 participants