mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 17:39:11 +00:00
fix bug overwriting source package on canonical resources
This commit is contained in:
parent
e081b27fd5
commit
4e92a7759a
@ -276,7 +276,7 @@ public class CanonicalResourceManager<T extends CanonicalResource> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// -- 2. preparation -----------------------------------------------------------------------------
|
// -- 2. preparation -----------------------------------------------------------------------------
|
||||||
if (cr.resource != null) {
|
if (cr.resource != null && cr.getPackageInfo() != null) {
|
||||||
cr.resource.setSourcePackage(cr.getPackageInfo());
|
cr.resource.setSourcePackage(cr.getPackageInfo());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user