Project

General

Profile

« Previous | Next » 

Revision 983949ab

Added by Patrick Plitzner about 5 years ago

ref #8153 Fix feature tree type check for distinct features

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/FeatureTree.java
257 257
	 */
258 258
	@Transient
259 259
	public Set<Feature> getDistinctFeatures(){
260
	    if(termType.equals(TermType.Feature)){
260
	    if(termType.equals(TermType.Feature) || termType.isKindOf(TermType.Feature)){
261 261
	        Set<Feature> features = new HashSet<>();
262 262
	        return root.getDistinctFeaturesRecursive(features);
263 263
	    }

Also available in: Unified diff