Skip to content

Commit

Permalink
修正单元测试
Browse files Browse the repository at this point in the history
  • Loading branch information
entropy-cloud committed Dec 25, 2024
1 parent 6d9c856 commit a55b4fd
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,11 @@ public void endNode(String localName) {
} else if ("dataValidation".equals(localName)) {
output.dataValidation(dataValidation);
} else if ("formula".equals(localName)) {
vfOpen = false;
dataValidation.setFormula(validationFormula.toString());
validationFormula.setLength(0);
if(dataValidation != null) {
vfOpen = false;
dataValidation.setFormula(validationFormula.toString());
validationFormula.setLength(0);
}
}
}

Expand Down

0 comments on commit a55b4fd

Please sign in to comment.