One more test fix
This commit is contained in:
parent
1b1d80b850
commit
dbe86c8669
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue