fix more bugs in CSV reader
This commit is contained in:
parent
210cc0affc
commit
971b59b7af
|
@ -111,7 +111,11 @@ public class CSVReader extends InputStreamReader {
|
|||
String s = cells.length >= index ? cells[index] : null;
|
||||
if (Utilities.noString(s))
|
||||
return null;
|
||||
return s;
|
||||
if (s.startsWith("\"") && s.endsWith("\"")) {
|
||||
return s.substring(1, s.length()-2);
|
||||
} else {
|
||||
return s;
|
||||
}
|
||||
}
|
||||
|
||||
protected boolean parseBoolean(String column) {
|
||||
|
|
Loading…
Reference in New Issue