Revision bbe0258f
Added by Andreas Müller almost 11 years ago
cdm-eflora/src/main/java/eu/etaxonomy/cdm/app/eflora/EfloraActivatorBase.java | ||
---|---|---|
31 | 31 |
|
32 | 32 |
protected FeatureTree makeAutomatedFeatureTree(ICdmApplicationConfiguration app, |
33 | 33 |
MarkupImportState state, UUID featureTreeUuid, String featureTreeTitle){ |
34 |
System.out.println("Start creating automated Feature Tree"); |
|
34 | 35 |
FeatureTree tree = FeatureTree.NewInstance(featureTreeUuid); |
35 | 36 |
tree.setTitleCache(featureTreeTitle, true); |
36 | 37 |
FeatureNode root = tree.getRoot(); |
... | ... | |
71 | 72 |
//save tree |
72 | 73 |
app.getFeatureTreeService().saveOrUpdate(tree); |
73 | 74 |
|
75 |
System.out.println("End creating automated Feature Tree"); |
|
76 |
|
|
74 | 77 |
return tree; |
75 | 78 |
} |
76 | 79 |
|
Also available in: Unified diff
add logging for feature tree creation