Revision 01146fd8
Added by Andreas Müller over 3 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/berlinModel/in/BerlinModelOccurrenceImport.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.cdm.io.berlinModel.in; |
11 | 10 |
|
12 | 11 |
import java.sql.ResultSet; |
... | ... | |
45 | 44 |
import eu.etaxonomy.cdm.model.term.OrderedTermVocabulary; |
46 | 45 |
import eu.etaxonomy.cdm.strategy.exceptions.UnknownCdmTypeException; |
47 | 46 |
|
48 |
|
|
49 | 47 |
/** |
50 | 48 |
* @author a.mueller |
51 | 49 |
* @since 20.03.2008 |
... | ... | |
343 | 341 |
|
344 | 342 |
try{ |
345 | 343 |
Map<Object, Map<String, ? extends CdmBase>> result = new HashMap<>(); |
346 |
Set<String> taxonIdSet = new HashSet<String>();
|
|
344 |
Set<String> taxonIdSet = new HashSet<>(); |
|
347 | 345 |
while (rs.next()){ |
348 | 346 |
handleForeignKey(rs, taxonIdSet, "taxonId"); |
349 | 347 |
} |
Also available in: Unified diff
cleanup