prevent NPE in slicing rendering
This commit is contained in:
parent
14d0c126e1
commit
38849214fc
|
@ -4252,7 +4252,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
private String commas(List<ElementDefinitionSlicingDiscriminatorComponent> list) {
|
||||
CommaSeparatedStringBuilder c = new CommaSeparatedStringBuilder();
|
||||
for (ElementDefinitionSlicingDiscriminatorComponent id : list)
|
||||
c.append(id.getType().toCode()+":"+id.getPath());
|
||||
c.append((id.hasType() ? id.getType().toCode() : "??")+":"+id.getPath());
|
||||
return c.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue