fix NPE error comparing value sets
This commit is contained in:
parent
477bf66108
commit
137d04f68d
|
@ -545,8 +545,7 @@ public class ValueSetComparer extends CanonicalResourceComparer {
|
|||
if (t.hasLeft() && t.hasRight()) {
|
||||
ConceptSetComponent csL = (ConceptSetComponent) t.getLeft();
|
||||
ConceptSetComponent csR = (ConceptSetComponent) t.getRight();
|
||||
// we assume both have systems
|
||||
if (csL.getSystem().equals(csR.getSystem())) {
|
||||
if (csL.hasSystem() && csL.getSystem().equals(csR.getSystem())) {
|
||||
r.getCells().add(gen.new Cell(null, null, csL.getSystem(), null, null).span(2).center());
|
||||
} else {
|
||||
r.getCells().add(gen.new Cell(null, null, csL.getSystem(), null, null).setStyle("background-color: "+COLOR_DIFFERENT));
|
||||
|
|
Loading…
Reference in New Issue