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

Update ProfileSupport.java #3905

Merged
merged 2 commits into from
Aug 22, 2022
Merged

Update ProfileSupport.java #3905

merged 2 commits into from
Aug 22, 2022

Conversation

berkant-k
Copy link
Contributor

Default cardinality of StructureDefinition.Version is 0..1.
So it can be empty and this code could throw NullPointerException.
We need to check the result of getVersion methot not null.

Signed-off-by: berkant-k 33718658+berkant-k@users.noreply.github.com

Default cardinality of StructureDefinition.Version is 0..1. 
So it can be empty and this code could throw NullPointerException.
We need to check the result of getVersion methot not null.

Signed-off-by: berkant-k <33718658+berkant-k@users.noreply.github.com>
…fileSupport.java

Co-authored-by: Lee Surprenant <lmsurpre@merative.com>
Signed-off-by: berkant-k <33718658+berkant-k@users.noreply.github.com>
@lmsurpre lmsurpre self-requested a review August 22, 2022 17:43
Copy link
Member

@lmsurpre lmsurpre left a comment

Choose a reason for hiding this comment

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

LGTM

@lmsurpre lmsurpre merged commit ce9699d into LinuxForHealth:main Aug 22, 2022
@berkant-k berkant-k deleted the patch-1 branch September 3, 2022 04:14
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.

3 participants