Addressing james' request to change isXml to theXml

This commit is contained in:
Sean McIlvenna 2019-08-14 11:03:52 -07:00 committed by James Agnew
parent b37c4b5ae7
commit 6ecaa4fc18
1 changed files with 2 additions and 2 deletions

View File

@ -97,10 +97,10 @@ public class ResourceDeliveryMessage extends BaseResourceMessage implements IRes
mySubscription = theSubscription; mySubscription = theSubscription;
} }
public void setPayload(FhirContext theCtx, IBaseResource thePayload, Boolean isXml) { public void setPayload(FhirContext theCtx, IBaseResource thePayload, Boolean theXml) {
myPayload = thePayload; myPayload = thePayload;
if (isXml) { if (theXml) {
myPayloadString = theCtx.newXmlParser().encodeResourceToString(thePayload); myPayloadString = theCtx.newXmlParser().encodeResourceToString(thePayload);
} else { } else {
myPayloadString = theCtx.newJsonParser().encodeResourceToString(thePayload); myPayloadString = theCtx.newJsonParser().encodeResourceToString(thePayload);