Revision 539b7820
Added by Andreas Müller over 5 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/mexico/MexicoBorhidiExcelImport.java | ||
---|---|---|
11 | 11 |
import java.net.URI; |
12 | 12 |
import java.net.URISyntaxException; |
13 | 13 |
import java.util.Arrays; |
14 |
import java.util.HashMap; |
|
15 | 14 |
import java.util.List; |
15 |
import java.util.Map; |
|
16 | 16 |
import java.util.Set; |
17 | 17 |
import java.util.UUID; |
18 | 18 |
|
... | ... | |
64 | 64 |
@Override |
65 | 65 |
protected void firstPass(SimpleExcelTaxonImportState<CONFIG> state) { |
66 | 66 |
String line = state.getCurrentLine() + ": "; |
67 |
HashMap<String, String> record = state.getOriginalRecord();
|
|
67 |
Map<String, String> record = state.getOriginalRecord(); |
|
68 | 68 |
|
69 | 69 |
Set<String> keys = record.keySet(); |
70 | 70 |
checkAllKeysExist(line, keys, expectedKeys); |
... | ... | |
115 | 115 |
* @param state |
116 | 116 |
* @return |
117 | 117 |
*/ |
118 |
private IBotanicalName makeName(HashMap<String, String> record, SimpleExcelTaxonImportState<CONFIG> state) {
|
|
118 |
private IBotanicalName makeName(Map<String, String> record, SimpleExcelTaxonImportState<CONFIG> state) { |
|
119 | 119 |
String line = state.getCurrentLine() + ": "; |
120 | 120 |
|
121 | 121 |
String fullNameStr = getValue(record, "OutputFullNameWithAuthors"); |
Also available in: Unified diff
cleanup