Quotes should not be removed from values

Leading quotation marks should not be removed from values. If they have
been left by the importing parser they should be considered part of the
value.
This commit is contained in:
Frank Wennerdahl 2013-01-24 09:04:17 +01:00
parent f1387bdb24
commit 1f7ab046c7

View File

@ -57,10 +57,6 @@ public class ImporterUtilities {
static public Serializable parseCellValue(String text) {
if (text.length() > 0) {
if (text.length() > 1 && text.startsWith("\"") && text.endsWith("\"")) {
return text.substring(1, text.length() - 1);
}
String text2 = text.trim();
if (text2.length() > 0) {
try {