Commit 810cdf77 authored by Romain Bioteau's avatar Romain Bioteau

fix tests

parent a0374dcf
...@@ -65,7 +65,8 @@ public class BusinessObjectDataStyledLabelProvider extends DataStyledTreeLabelPr ...@@ -65,7 +65,8 @@ public class BusinessObjectDataStyledLabelProvider extends DataStyledTreeLabelPr
} }
protected boolean businessObjectDefinitionExists(final BusinessObjectData data) { protected boolean businessObjectDefinitionExists(final BusinessObjectData data) {
return store.getChildByQualifiedName(data.getClassName()).isPresent(); String className = data.getClassName();
return className != null && store != null && store.getChildByQualifiedName(className).isPresent();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment