Cleanup checkstyle warnings and turn enforcement on in yang-data-impl
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / schema / tree / RootModificationApplyOperation.java
index ead1ebff6d3aef49162092dd04712760d427e739..ff84f3c25f83e594d87933a8d6fc41fa18c3811e 100644 (file)
@@ -35,9 +35,8 @@ import org.opendaylight.yangtools.yang.data.api.schema.tree.spi.Version;
  * <li><b>Not Upgradable</b> - operation is immutable, invocation of
  * {@link #upgradeIfPossible()} is no-op and method {@link #snapshot()} returns
  * pointer on same object.
- *
+ * </ul>
  * <h3>Upgradable Root Modification Operation</h3>
- *
  * Upgradable Root Modification Operation may be created using:
  * <ul>
  * <li> {@link #from(ModificationApplyOperation)} with other upgradable root
@@ -46,18 +45,19 @@ import org.opendaylight.yangtools.yang.data.api.schema.tree.spi.Version;
  * Root Modification Operations and provides an option to set latest
  * implementation.
  * </ul>
+ *
  * <p>
  * Upgradable root operation is never upgraded to latest operation
  * automatically, but client code must explicitly invoke
  * {@link #upgradeIfPossible()} to get latest implementation.
  *
+ * <p>
  * Note: This is helpful for implementing
  * {@link org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification}
  * which may be derived from
  * {@link org.opendaylight.yangtools.yang.data.api.schema.tree.DataTree} before
  * update of schema and user actually writes data after schema update. During
  * update user did not invoked any operation.
- *
  */
 abstract class RootModificationApplyOperation extends ModificationApplyOperation {
 
@@ -100,7 +100,7 @@ abstract class RootModificationApplyOperation extends ModificationApplyOperation
     }
 
     @Override
-    void recursivelyVerifyStructure(NormalizedNode<?, ?> value) {
+    void recursivelyVerifyStructure(final NormalizedNode<?, ?> value) {
         getDelegate().recursivelyVerifyStructure(value);
     }
 
@@ -123,9 +123,10 @@ abstract class RootModificationApplyOperation extends ModificationApplyOperation
 
     /**
      * Creates a snapshot from this modification, which may have separate
-     * upgrade lifecycle and is not affected by upgrades
+     * upgrade lifecycle and is not affected by upgrades.
+     *
      * <p>
-     * Newly created snapshot uses backing implementation of this modi
+     * Newly created snapshot uses backing implementation of this modification.
      *
      * @return Derived {@link RootModificationApplyOperation} with separate
      *         upgrade lifecycle.
@@ -134,6 +135,7 @@ abstract class RootModificationApplyOperation extends ModificationApplyOperation
 
     /**
      * Upgrades backing implementation to latest available, if possible.
+     *
      * <p>
      * Latest implementation of {@link RootModificationApplyOperation} is
      * managed by {@link LatestOperationHolder} which was used to construct this