gitlab #129
Change-Id: I7d5f3be3cc695e5a6e8f9cf131fcc24b275a5e85
// always clean up old items before drawing new items
cleanupStyleForNode(_node);
// always clean up old items before drawing new items
cleanupStyleForNode(_node);
- int count = resultList.size();
- if (resultList == null || count < 2)
+ int count = resultList != null ? resultList.size() : 0;
+ if (count < 2)
return;
G2DParentNode parentNode = ProfileVariables.claimChild(_node, "", PARENT_NODE_NAME_PREFIX, G2DParentNode.class, observer);
return;
G2DParentNode parentNode = ProfileVariables.claimChild(_node, "", PARENT_NODE_NAME_PREFIX, G2DParentNode.class, observer);