augSchema = null;
}
- // FIXME: 6.0.0: use policy once we have removed addChild() visibility
+ // FIXME: 7.0.0: use policy to determine if we should reuse or replace the child
if (augSchema != null) {
augmentationsToChild.put(augSchema, newChild);
final DataSchemaNode child) {
if (parent instanceof AugmentationTarget && !(parent instanceof ChoiceSchemaNode)) {
for (AugmentationSchemaNode augmentation : ((AugmentationTarget) parent).getAvailableAugmentations()) {
- DataSchemaNode childInAugmentation = augmentation.getDataChildByName(child.getQName());
+ DataSchemaNode childInAugmentation = augmentation.dataChildByName(child.getQName());
if (childInAugmentation != null) {
return augmentation;
}