Split out yang-data-tree-{api,spi}
[yangtools.git] / data / yang-data-tree-api / src / main / java / org / opendaylight / yangtools / yang / data / tree / api / DataTreeModificationCursor.java
@@ -5,16 +5,16 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-package org.opendaylight.yangtools.yang.data.api.schema.tree;
+package org.opendaylight.yangtools.yang.data.tree.api;
 
 import com.google.common.annotations.Beta;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
 
 /**
- * Extension to the {@link DataTreeSnapshotCursor} which allows modifying the data tree.
- * An instance of this interface can be obtained from {@link CursorAwareDataTreeModification}
- * and modifications made through this interface are staged in the parent modification.
+ * Extension to the {@link DataTreeSnapshotCursor} which allows modifying the data tree. An instance of this interface
+ * can be obtained from {@link CursorAwareDataTreeModification} and modifications made through this interface are staged
+ * in the parent modification.
  */
 @Beta
 public interface DataTreeModificationCursor extends DataTreeSnapshotCursor {
@@ -22,8 +22,7 @@ public interface DataTreeModificationCursor extends DataTreeSnapshotCursor {
      * Delete the specified child.
      *
      * @param child Child identifier
-     * @throws BackendFailedException when implementation-specific errors occurs
-     *                                while servicing the request.
+     * @throws BackendFailedException when implementation-specific errors occurs while servicing the request.
      */
     void delete(PathArgument child);
 
@@ -33,8 +32,7 @@ public interface DataTreeModificationCursor extends DataTreeSnapshotCursor {
      *
      * @param child Child identifier
      * @param data Data to be merged
-     * @throws BackendFailedException when implementation-specific errors occurs
-     *                                while servicing the request.
+     * @throws BackendFailedException when implementation-specific errors occurs while servicing the request.
      */
     void merge(PathArgument child, NormalizedNode data);
 
@@ -43,8 +41,7 @@ public interface DataTreeModificationCursor extends DataTreeSnapshotCursor {
      *
      * @param child Child identifier
      * @param data New node data
-     * @throws BackendFailedException when implementation-specific errors occurs
-     *                                while servicing the request.
+     * @throws BackendFailedException when implementation-specific errors occurs while servicing the request.
      */
     void write(PathArgument child, NormalizedNode data);
 }