Skip to content

Commit

Permalink
优化WindowCoordinatorUnit,支持null值
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyi5 committed Mar 10, 2022
1 parent d78af78 commit 99d607d
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,12 @@ private void doWindow() {
}
for (int i = 0, index = 0; i < elements.size(); i++) {
WindowElement element = elements.get(i);
Object output = splitter.split(outputs, element, index);
index += element.size();
Object output = null;
if (outputs != null) {
output = splitter.split(outputs, element, index);
}
element.setOutput(output);
index += element.size();
}
break;
}
Expand Down

0 comments on commit 99d607d

Please sign in to comment.