poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1764822 - /poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java
Date Fri, 14 Oct 2016 07:04:27 GMT
Author: onealj
Date: Fri Oct 14 07:04:27 2016
New Revision: 1764822

URL: http://svn.apache.org/viewvc?rev=1764822&view=rev
Log:
bug 60253: revert XSSFDataValidationConstraint#prettyPrint QUOTE change in r1749129

Modified:
    poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java

Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java?rev=1764822&r1=1764821&r2=1764822&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java
(original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java
Fri Oct 14 07:04:27 2016
@@ -223,14 +223,14 @@ public class XSSFDataValidationConstrain
 					&& 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();



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message