bug 60253: remove repeated check for ValidationType.ANY

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764823 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-10-14 07:07:15 +00:00
parent 489f632288
commit ee6b1e741d

View File

@ -219,7 +219,6 @@ public class XSSFDataValidationConstraint implements DataValidationConstraint {
builder.append(' '); builder.append(' ');
if (validationType!=ValidationType.ANY) { if (validationType!=ValidationType.ANY) {
if (validationType != ValidationType.LIST if (validationType != ValidationType.LIST
&& validationType != ValidationType.ANY
&& validationType != ValidationType.FORMULA) { && validationType != ValidationType.FORMULA) {
builder.append(LIST_SEPARATOR).append(ot).append(", "); builder.append(LIST_SEPARATOR).append(ot).append(", ");
} }