Revision ba862b53
Added by Andreas Müller about 5 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/FeatureNode.java | ||
---|---|---|
289 | 289 |
} |
290 | 290 |
child.setSortIndex(index); |
291 | 291 |
} |
292 |
/** |
|
292 |
|
|
293 |
|
|
294 |
/** |
|
293 | 295 |
* Removes the given feature node from the list of {@link #getChildNodes() children} |
294 | 296 |
* of <i>this</i> feature node. |
295 | 297 |
* |
... | ... | |
572 | 574 |
FeatureNode result; |
573 | 575 |
try { |
574 | 576 |
result = (FeatureNode)super.clone(); |
575 |
result.children = new ArrayList<FeatureNode>();
|
|
577 |
result.children = new ArrayList<>(); |
|
576 | 578 |
return result; |
577 | 579 |
}catch (CloneNotSupportedException e) { |
578 | 580 |
logger.warn("Object does not implement cloneable"); |
Also available in: Unified diff
cleanup