One more test fix

This commit is contained in:
James Agnew 2019-08-29 21:35:07 -04:00
parent 1b1d80b850
commit dbe86c8669
1 changed files with 6 additions and 4 deletions

View File

@ -1464,12 +1464,14 @@ public abstract class BaseHapiFhirDao<T extends IBaseResource> implements IDao,
List<IPrimitiveType<String>> childElements = theContext.newTerser().getAllPopulatedChildElementsOfType(theResource, myStringType);
for (@SuppressWarnings("rawtypes")
IPrimitiveType<String> nextType : childElements) {
if (myStringType.equals(nextType.getClass())) {
String nextValue = nextType.getValueAsString();
if (isNotBlank(nextValue)) {
retVal.append(nextValue.replace("\n", " ").replace("\r", " "));
retVal.append("\n");
}
}
}
return retVal.toString();
}