Skip to content

Commit

Permalink
Fixed scan code to run on all supported DBMSs.
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Jun 7, 2014
1 parent bed88b6 commit 43a4212
Show file tree
Hide file tree
Showing 4 changed files with 220 additions and 186 deletions.
7 changes: 7 additions & 0 deletions src/org/ohdsi/utilities/files/Row.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,11 @@ public void remove(String field) {
else
tempMap.put(entry.getKey(), entry.getValue());
}

public void upperCaseFieldNames() {
Map<String, Integer> tempMap = new HashMap<String, Integer>();
for (Map.Entry<String, Integer> entry : fieldName2ColumnIndex.entrySet())
tempMap.put(entry.getKey().toUpperCase(), entry.getValue());
fieldName2ColumnIndex = tempMap;
}
}
Loading

0 comments on commit 43a4212

Please sign in to comment.