Revision 30fc7ac4
Added by Andreas Müller about 5 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/FeatureTreePortalController.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.cdm.remote.controller; |
10 | 10 |
|
11 |
import io.swagger.annotations.Api; |
|
12 |
|
|
13 | 11 |
import java.io.IOException; |
14 | 12 |
import java.util.ArrayList; |
15 | 13 |
import java.util.Arrays; |
... | ... | |
27 | 25 |
import org.springframework.web.bind.annotation.RequestMethod; |
28 | 26 |
|
29 | 27 |
import eu.etaxonomy.cdm.model.description.FeatureTree; |
28 |
import io.swagger.annotations.Api; |
|
30 | 29 |
|
31 | 30 |
/** |
32 | 31 |
* @author a.kohlbecker |
... | ... | |
51 | 50 |
public FeatureTreePortalController() { |
52 | 51 |
setInitializationStrategy(FEATURETREE_INIT_STRATEGY); |
53 | 52 |
|
54 |
featuretreeNodeInitStrategy = new ArrayList<String>(2); |
|
55 |
// featuretreeNodeInitStrategy.add("representations"); |
|
56 |
featuretreeNodeInitStrategy.add("feature.representations"); |
|
53 |
featuretreeNodeInitStrategy = new ArrayList<>(2); |
|
54 |
featuretreeNodeInitStrategy.add("term.representations"); |
|
57 | 55 |
} |
58 | 56 |
|
59 | 57 |
@Override |
Also available in: Unified diff
ref #6794 adapt FeatureTreeController property path to new FeatureNode structure