One more test fix
This commit is contained in:
parent
1b1d80b850
commit
dbe86c8669
|
@ -1464,10 +1464,12 @@ public abstract class BaseHapiFhirDao<T extends IBaseResource> implements IDao,
|
||||||
List<IPrimitiveType<String>> childElements = theContext.newTerser().getAllPopulatedChildElementsOfType(theResource, myStringType);
|
List<IPrimitiveType<String>> childElements = theContext.newTerser().getAllPopulatedChildElementsOfType(theResource, myStringType);
|
||||||
for (@SuppressWarnings("rawtypes")
|
for (@SuppressWarnings("rawtypes")
|
||||||
IPrimitiveType<String> nextType : childElements) {
|
IPrimitiveType<String> nextType : childElements) {
|
||||||
String nextValue = nextType.getValueAsString();
|
if (myStringType.equals(nextType.getClass())) {
|
||||||
if (isNotBlank(nextValue)) {
|
String nextValue = nextType.getValueAsString();
|
||||||
retVal.append(nextValue.replace("\n", " ").replace("\r", " "));
|
if (isNotBlank(nextValue)) {
|
||||||
retVal.append("\n");
|
retVal.append(nextValue.replace("\n", " ").replace("\r", " "));
|
||||||
|
retVal.append("\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return retVal.toString();
|
return retVal.toString();
|
||||||
|
|
Loading…
Reference in New Issue