Revision 539b7820
Added by Andreas Müller over 5 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/PalmaeProtologueImport.java | ||
---|---|---|
11 | 11 |
|
12 | 12 |
import java.net.URI; |
13 | 13 |
import java.net.URISyntaxException; |
14 |
import java.util.HashMap; |
|
15 | 14 |
import java.util.HashSet; |
16 | 15 |
import java.util.List; |
16 |
import java.util.Map; |
|
17 | 17 |
import java.util.Set; |
18 | 18 |
|
19 | 19 |
import org.apache.log4j.Logger; |
... | ... | |
47 | 47 |
@Override |
48 | 48 |
protected void invokeImageImport(ImageImportState state) { |
49 | 49 |
|
50 |
List<HashMap<String, String>> contents;
|
|
50 |
List<Map<String, String>> contents; |
|
51 | 51 |
try { |
52 | 52 |
contents = ExcelUtils.parseXLS(state.getConfig().getSource()); |
53 | 53 |
} catch (/*FileNotFound*/Exception e) { |
... | ... | |
60 | 60 |
|
61 | 61 |
int count = 0; |
62 | 62 |
|
63 |
for (HashMap<String, String> row : contents){
|
|
63 |
for (Map<String, String> row : contents){ |
|
64 | 64 |
count++; |
65 | 65 |
|
66 | 66 |
TaxonName taxonNameBase = null; |
Also available in: Unified diff
cleanup