Fixing sonar issues 4
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / Deviation.java
index 8c3391bd2156a470dd2c3dcc48fcf426bf4c0e1c..3a7cce85b546545f1c5f49b915a178e88cbb0991 100644 (file)
@@ -1,53 +1,53 @@
-/*\r
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-package org.opendaylight.yangtools.yang.model.api;\r
-\r
-import java.util.List;\r
-\r
-/**\r
- * Interface describing YANG 'deviation' statement.\r
- * <p>\r
- * The 'deviation' statement defines a hierarchy of a module that the device\r
- * does not implement faithfully. Deviations define the way a device deviate\r
- * from a standard.\r
- * </p>\r
- */\r
-public interface Deviation {\r
-\r
-    /**\r
-     * Enum describing YANG deviation 'deviate' statement. It defines how the\r
-     * device's implementation of the target node deviates from its original\r
-     * definition.\r
-     */\r
-    enum Deviate {\r
-        NOT_SUPPORTED, ADD, REPLACE, DELETE\r
-    }\r
-\r
-    /**\r
-     * @return SchemaPath that identifies the node in the schema tree where a\r
-     *         deviation from the module occurs.\r
-     */\r
-    SchemaPath getTargetPath();\r
-\r
-    /**\r
-     * @return deviate statement of this deviation\r
-     */\r
-    Deviate getDeviate();\r
-\r
-    /**\r
-     * @return textual cross-reference to an external document that provides\r
-     *         additional information relevant to this node.\r
-     */\r
-    String getReference();\r
-\r
-    /**\r
-     * @return collection of all unknown nodes defined under this schema node.\r
-     */\r
-    public List<UnknownSchemaNode> getUnknownSchemaNodes();\r
-\r
-}\r
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * 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.model.api;
+
+import java.util.List;
+
+/**
+ * Interface describing YANG 'deviation' statement.
+ * <p>
+ * The 'deviation' statement defines a hierarchy of a module that the device
+ * does not implement faithfully. Deviations define the way a device deviate
+ * from a standard.
+ * </p>
+ */
+public interface Deviation {
+
+    /**
+     * Enum describing YANG deviation 'deviate' statement. It defines how the
+     * device's implementation of the target node deviates from its original
+     * definition.
+     */
+    enum Deviate {
+        NOT_SUPPORTED, ADD, REPLACE, DELETE
+    }
+
+    /**
+     * @return SchemaPath that identifies the node in the schema tree where a
+     *         deviation from the module occurs.
+     */
+    SchemaPath getTargetPath();
+
+    /**
+     * @return deviate statement of this deviation
+     */
+    Deviate getDeviate();
+
+    /**
+     * @return textual cross-reference to an external document that provides
+     *         additional information relevant to this node.
+     */
+    String getReference();
+
+    /**
+     * @return collection of all unknown nodes defined under this schema node.
+     */
+    List<UnknownSchemaNode> getUnknownSchemaNodes();
+
+}