mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-03 18:09:08 +00:00
fix for bug doing comparison
This commit is contained in:
parent
851d1fc228
commit
ed315a03c0
@ -255,7 +255,7 @@ private Map<String, Object> userData;
|
||||
}
|
||||
|
||||
private static boolean noList(List<? extends Base> list) {
|
||||
return list == null || list.isEmpty();
|
||||
return list == null || list.isEmpty() || (list.size() == 1 && list.get(0).isEmpty());
|
||||
}
|
||||
|
||||
public static boolean compareDeep(Base e1, Base e2, boolean allowNull) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user