Revision 2a6e6815
Added by Andreas Müller over 5 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/cyprus/CyprusAltitudeActivator.java | ||
---|---|---|
12 | 12 |
import java.io.FileNotFoundException; |
13 | 13 |
import java.net.URI; |
14 | 14 |
import java.net.URISyntaxException; |
15 |
import java.util.ArrayList; |
|
16 | 15 |
import java.util.HashMap; |
17 | 16 |
import java.util.HashSet; |
17 |
import java.util.List; |
|
18 | 18 |
import java.util.Set; |
19 | 19 |
import java.util.UUID; |
20 | 20 |
|
... | ... | |
79 | 79 |
|
80 | 80 |
private void doImport(ICdmDataSource cdmDestination){ |
81 | 81 |
|
82 |
|
|
83 |
ArrayList<HashMap<String, String>> excel; |
|
82 |
List<HashMap<String, String>> excel; |
|
84 | 83 |
try { |
85 | 84 |
excel = ExcelUtils.parseXLS(source, "coreTax"); |
86 | 85 |
} catch (FileNotFoundException e) { |
app-import/src/main/java/eu/etaxonomy/cdm/app/synthesysImport/SynthesysCacheActivator.java | ||
---|---|---|
426 | 426 |
logger.info("main method"); |
427 | 427 |
SynthesysCacheActivator abcdAct = new SynthesysCacheActivator(); |
428 | 428 |
|
429 |
ArrayList<HashMap<String, String>> units;
|
|
429 |
List<HashMap<String, String>> units; |
|
430 | 430 |
try { |
431 | 431 |
units = ExcelUtils.parseXLS(uri); |
432 | 432 |
} catch (FileNotFoundException e) { |
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.ArrayList; |
|
15 | 14 |
import java.util.HashMap; |
16 | 15 |
import java.util.HashSet; |
16 |
import java.util.List; |
|
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 |
ArrayList<HashMap<String, String>> contents;
|
|
50 |
List<HashMap<String, String>> contents; |
|
51 | 51 |
try { |
52 | 52 |
contents = ExcelUtils.parseXLS(state.getConfig().getSource()); |
53 | 53 |
} catch (/*FileNotFound*/Exception e) { |
Also available in: Unified diff
cleanup