mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-03 01:49:10 +00:00
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;
|
String s = cells.length >= index ? cells[index] : null;
|
||||||
if (Utilities.noString(s))
|
if (Utilities.noString(s))
|
||||||
return null;
|
return null;
|
||||||
|
if (s.startsWith("\"") && s.endsWith("\"")) {
|
||||||
|
return s.substring(1, s.length()-2);
|
||||||
|
} else {
|
||||||
return s;
|
return s;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected boolean parseBoolean(String column) {
|
protected boolean parseBoolean(String column) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user