Commit 8b37bed1 authored by 高攀's avatar 高攀

[Fix][core]: setParentId() 方法判空错误

parent c2f970d0
......@@ -58,7 +58,7 @@ public class TransGenerator {
for (Map.Entry<Integer, Trans> entry : nodemap.entrySet()) {
Trans trans = entry.getValue();
List<Predecessor> predecessors = trans.getPredecessors();
if (Asserts.isNull(predecessors)) {
if (Asserts.isNullCollection(predecessors)) {
continue;
}
for (int i = 0; i < predecessors.size(); i++) {
......
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