this.modification = requireNonNull(mod);
}
- void write(final NormalizedNode<?, ?> value) {
+ void write(final NormalizedNode value) {
modification.write(value);
/**
* Fast validation of structure, full validation on written data will be run during seal.
applyOperation.quickVerifyStructure(value);
}
- void merge(final NormalizedNode<?, ?> data, final Version version) {
+ void merge(final NormalizedNode data, final Version version) {
/*
* A merge operation will end up overwriting parts of the tree, retaining others. We want to
* make sure we do not validate the complete resulting structure, but rather just what was
* Read a particular child. If the child has been modified and does not have a stable
* view, one will we instantiated with specified version.
*/
- Optional<NormalizedNode<?, ?>> read(final PathArgument child, final Version version) {
+ Optional<NormalizedNode> read(final PathArgument child, final Version version) {
final ModifiedNode childNode = modification.childByArg(child);
if (childNode != null) {
Optional<? extends TreeNode> snapshot = childNode.getSnapshot();