import org.opendaylight.mdsal.binding.api.DataTreeModification;
import org.opendaylight.mdsal.binding.api.WriteTransaction;
import org.opendaylight.mdsal.binding.dom.adapter.test.AbstractDataBrokerTest;
-import org.opendaylight.mdsal.binding.spec.reflect.BindingReflections;
+import org.opendaylight.mdsal.binding.runtime.spi.BindingRuntimeHelpers;
import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsal.test.augment.rev140709.TreeComplexUsesAugment;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsal.test.binding.rev140701.Top;
@Override
public void onDataTreeChanged(final Collection<DataTreeModification<T>> changes) {
- this.futureChanges.set(changes);
+ futureChanges.set(changes);
}
@Override
protected Set<YangModuleInfo> getModuleInfos() throws Exception {
return ImmutableSet.of(
- BindingReflections.getModuleInfo(TwoLevelList.class),
- BindingReflections.getModuleInfo(TreeComplexUsesAugment.class)
- );
+ BindingRuntimeHelpers.getYangModuleInfo(TwoLevelList.class),
+ BindingRuntimeHelpers.getYangModuleInfo(TreeComplexUsesAugment.class));
}
@Override