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:
parent
f1387bdb24
commit
1f7ab046c7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user