Fix eclipse/checkstyle warnings
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / tree / DataTreeConfiguration.java
index b789854725b8168e29a080e6ef9ec59193e8c964..b8eae24c3fdde405ea189f4918f5cc5d12f76dcc 100644 (file)
@@ -17,6 +17,7 @@ import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 /**
  * DataTree configuration class.
  *
+ * <p>
  * TreeConfig supports currently the following options:
  * <ul>
  * <li>treeType</li>
@@ -24,6 +25,7 @@ import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
  * <li>enable/disable mandatory nodes validation</li>
  * </ul>
  *
+ * <p>
  * TreeConfig can be easily extended in order to support further data tree
  * configuration options, like following:
  * <ul>
@@ -32,9 +34,9 @@ import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
  * <li>other schema aware validation options</li>
  * </ul>
  *
+ * <p>
  * This can be useful when strict validation is not required or useful for some
  * reasons.
- *
  */
 @Beta
 public class DataTreeConfiguration implements Immutable {
@@ -81,12 +83,12 @@ public class DataTreeConfiguration implements Immutable {
     public static DataTreeConfiguration getDefault(final TreeType treeType) {
         Preconditions.checkNotNull(treeType);
         switch (treeType) {
-        case CONFIGURATION:
-            return DEFAULT_CONFIGURATION;
-        case OPERATIONAL:
-            return DEFAULT_OPERATIONAL;
-        default:
-            return new DataTreeConfiguration(treeType, YangInstanceIdentifier.EMPTY, false, true);
+            case CONFIGURATION:
+                return DEFAULT_CONFIGURATION;
+            case OPERATIONAL:
+                return DEFAULT_OPERATIONAL;
+            default:
+                return new DataTreeConfiguration(treeType, YangInstanceIdentifier.EMPTY, false, true);
         }
     }
 
@@ -121,4 +123,4 @@ public class DataTreeConfiguration implements Immutable {
             return new DataTreeConfiguration(treeType, rootPath, uniqueIndexes, mandatoryNodesValidation);
         }
     }
-}
\ No newline at end of file
+}