Fixing sonar issues 4
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / MutableSimpleNodeTOImpl.java
index 62f45beea1a689e297ae61af40c4a5430233e5f3..e55cc0137e4b4b88f5b9c7480287d3409be61017 100644 (file)
@@ -1,63 +1,63 @@
-/*\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.data.impl;\r
-\r
-import org.opendaylight.yangtools.yang.common.QName;\r
-import org.opendaylight.yangtools.yang.data.api.CompositeNode;\r
-import org.opendaylight.yangtools.yang.data.api.ModifyAction;\r
-import org.opendaylight.yangtools.yang.data.api.MutableSimpleNode;\r
-import org.opendaylight.yangtools.yang.data.api.SimpleNode;\r
-\r
-/**\r
- * @author michal.rehak\r
- * @param <T> type of simple node value\r
- *\r
- */\r
-public class MutableSimpleNodeTOImpl<T> extends SimpleNodeTOImpl<T>\r
-        implements MutableSimpleNode<T> {\r
-\r
-    private SimpleNode<T> original;\r
-\r
-    /**\r
-     * @param qname\r
-     * @param parent\r
-     * @param value\r
-     * @param modifyAction\r
-     */\r
-    public MutableSimpleNodeTOImpl(QName qname, CompositeNode parent, T value,\r
-            ModifyAction modifyAction) {\r
-        super(qname, parent, value, modifyAction);\r
-    }\r
-\r
-    @Override\r
-    public void setValue(T value) {\r
-        super.setValue(value);\r
-    }\r
-\r
-    @Override\r
-    public void setModifyAction(ModifyAction action) {\r
-        super.setModificationAction(action);\r
-    }\r
-\r
-    @Override\r
-    public MutableSimpleNode<T> asMutable() {\r
-        return this;\r
-    }\r
-\r
-    @Override\r
-    public SimpleNode<T> getOriginal() {\r
-        return original;\r
-    }\r
-\r
-    /**\r
-     * @param original the original to set\r
-     */\r
-    public void setOriginal(SimpleNode<T> original) {\r
-        this.original = original;\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.data.impl;
+
+import org.opendaylight.yangtools.yang.common.QName;
+import org.opendaylight.yangtools.yang.data.api.CompositeNode;
+import org.opendaylight.yangtools.yang.data.api.ModifyAction;
+import org.opendaylight.yangtools.yang.data.api.MutableSimpleNode;
+import org.opendaylight.yangtools.yang.data.api.SimpleNode;
+
+/**
+ * @author michal.rehak
+ * @param <T>
+ *            type of simple node value
+ * 
+ */
+public class MutableSimpleNodeTOImpl<T> extends SimpleNodeTOImpl<T> implements MutableSimpleNode<T> {
+
+    private SimpleNode<T> original;
+
+    /**
+     * @param qname
+     * @param parent
+     * @param value
+     * @param modifyAction
+     */
+    public MutableSimpleNodeTOImpl(QName qname, CompositeNode parent, T value, ModifyAction modifyAction) {
+        super(qname, parent, value, modifyAction);
+    }
+
+    @Override
+    public void setValue(T value) {
+        super.setValue(value);
+    }
+
+    @Override
+    public void setModifyAction(ModifyAction action) {
+        super.setModificationAction(action);
+    }
+
+    @Override
+    public MutableSimpleNode<T> asMutable() {
+        return this;
+    }
+
+    @Override
+    public SimpleNode<T> getOriginal() {
+        return original;
+    }
+
+    /**
+     * @param original
+     *            the original to set
+     */
+    public void setOriginal(SimpleNode<T> original) {
+        this.original = original;
+    }
+}