Fix build issue

This commit is contained in:
James Agnew 2016-03-25 19:42:08 +01:00
parent 6ffb1c8c56
commit cf22277d6e
1 changed files with 2 additions and 3 deletions

View File

@ -36,6 +36,7 @@ import java.util.*;
import org.hl7.fhir.utilities.Utilities;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.util.ElementUtil;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Block;
@ -806,9 +807,7 @@ public class HumanName extends Type implements ICompositeType {
}
public boolean isEmpty() {
return super.isEmpty() && (use == null || use.isEmpty()) && (text == null || text.isEmpty())
&& (family == null || family.isEmpty()) && (given == null || given.isEmpty()) && (prefix == null || prefix.isEmpty())
&& (suffix == null || suffix.isEmpty()) && (period == null || period.isEmpty());
return super.isEmpty() && ElementUtil.isEmpty(use, text, family, given, prefix, suffix, period);
}