Revision 37f2b410
Added by Katja Luther almost 3 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dto/TermNodeDto.java | ||
---|---|---|
219 | 219 |
int index = this.getIndex(nodeDto); |
220 | 220 |
if (index > -1){ |
221 | 221 |
this.getChildren().remove(index); |
222 |
this.tree.removeTerm(nodeDto.term); |
|
222 | 223 |
return true; |
223 | 224 |
}else if (doRecursive && this.getChildren() != null && !this.getChildren().isEmpty()){ |
224 | 225 |
for (TermNodeDto child: children){ |
Also available in: Unified diff
ref #8776: fix contains duplicates in dto