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

FLAG-75: refactor getFlagsForPatient method with stream API #65

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

ManojLL
Copy link
Contributor

@ManojLL ManojLL commented Jun 13, 2024

issue worked on : FLAG-75

}

return filteredFlags;
return getFlagsForPatient(patient).stream()
Copy link
Contributor

Choose a reason for hiding this comment

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

Can't we just use return filter.filter(getFlagsForPatient(patient)); here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, we can. I update the code with this changes

FLAG-75: refactor getFlagsForPatient method with stream API
@ManojLL ManojLL force-pushed the FLAG-75-getFlagsForPatient branch from b7692f7 to ccf6545 Compare June 13, 2024 16:42
@wikumChamith wikumChamith merged commit e40be55 into openmrs:master Jul 17, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants