From 1f7ab046c75bfacc6adee46f74c3b8d7feff9613 Mon Sep 17 00:00:00 2001 From: Frank Wennerdahl Date: Thu, 24 Jan 2013 09:04:17 +0100 Subject: [PATCH] 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. --- main/src/com/google/refine/importers/ImporterUtilities.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main/src/com/google/refine/importers/ImporterUtilities.java b/main/src/com/google/refine/importers/ImporterUtilities.java index 47f94756b..fe2ea3001 100644 --- a/main/src/com/google/refine/importers/ImporterUtilities.java +++ b/main/src/com/google/refine/importers/ImporterUtilities.java @@ -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 {