From: Javen O'Neal Date: Fri, 14 Oct 2016 07:04:27 +0000 (+0000) Subject: bug 60253: revert XSSFDataValidationConstraint#prettyPrint QUOTE change in r1749129 X-Git-Tag: REL_3_16_BETA1~109 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=235b49aa52de5733d12267600b0b1ad163479806;p=poi.git bug 60253: revert XSSFDataValidationConstraint#prettyPrint QUOTE change in r1749129 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764822 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java index 1bca5e4abe..65233b4735 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java @@ -223,14 +223,14 @@ public class XSSFDataValidationConstraint implements DataValidationConstraint { && validationType != ValidationType.FORMULA) { builder.append(LIST_SEPARATOR).append(ot).append(", "); } - + final String NOQUOTE = ""; if (validationType == ValidationType.LIST && explicitListOfValues != null) { - builder.append(QUOTE).append(Arrays.asList(explicitListOfValues)).append(QUOTE).append(' '); + builder.append(NOQUOTE).append(Arrays.asList(explicitListOfValues)).append(NOQUOTE).append(' '); } else { - builder.append(QUOTE).append(formula1).append(QUOTE).append(' '); + builder.append(NOQUOTE).append(formula1).append(NOQUOTE).append(' '); } if (formula2 != null) { - builder.append(QUOTE).append(formula2).append(QUOTE).append(' '); + builder.append(NOQUOTE).append(formula2).append(NOQUOTE).append(' '); } } return builder.toString();