if (this.getComparator() instanceof TaxonNaturalComparator){
return this.getComparator().compare((TaxonNode)e1, (TaxonNode)e2);
}else{
- return this.getComparator().compare(((TaxonNode)e1).getTaxon(),((TaxonNode)e2).getTaxon());
+ return this.getComparator().compare(e1,e2);
}
}
}