Revision 37c7b75c
Added by Andreas Müller over 2 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/berlinModel/in/BerlinModelFactsImport.java | ||
---|---|---|
11 | 11 |
|
12 | 12 |
import java.io.File; |
13 | 13 |
import java.io.IOException; |
14 |
import eu.etaxonomy.cdm.common.URI; |
|
15 | 14 |
import java.net.URISyntaxException; |
16 | 15 |
import java.sql.ResultSet; |
17 | 16 |
import java.sql.SQLException; |
... | ... | |
31 | 30 |
|
32 | 31 |
import au.com.bytecode.opencsv.CSVReader; |
33 | 32 |
import eu.etaxonomy.cdm.common.CdmUtils; |
33 |
import eu.etaxonomy.cdm.common.URI; |
|
34 | 34 |
import eu.etaxonomy.cdm.common.UTF8; |
35 | 35 |
import eu.etaxonomy.cdm.common.media.CdmImageInfo; |
36 | 36 |
import eu.etaxonomy.cdm.database.update.DatabaseTypeNotSupportedException; |
... | ... | |
179 | 179 |
if (createFeatureTree){ |
180 | 180 |
featureTree.getRoot().addChild(Feature.DISTRIBUTION(),2); |
181 | 181 |
featureTree.getRoot().addChild(Feature.NOTES(), featureTree.getRoot().getChildCount()-1); |
182 |
getFeatureTreeService().save(featureTree);
|
|
182 |
getTermTreeService().save(featureTree);
|
|
183 | 183 |
} |
184 | 184 |
return result; |
185 | 185 |
} catch (SQLException e) { |
Also available in: Unified diff
cleanup and remove usage of feature tree service