Fixed bugs in naming conventions of packages.
[controller.git] / opendaylight / sal / yang-prototype / sal / sal-core-demo / src / main / java / org / opendaylight / controller / sal / demo / DemoUtils.java
index ffc06a50c591c60872290df42a5b0e0ccfe2c185..3b0430935fd5ec9882c849fe4800391d054039f0 100644 (file)
@@ -1,44 +1,44 @@
-/*\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.controller.sal.demo;\r
-\r
-import java.net.URI;\r
-import java.net.URISyntaxException;\r
-import java.util.Date;\r
-\r
-import org.opendaylight.controller.data.util.Nodes;\r
-import org.opendaylight.controller.yang.common.QName;\r
-import org.opendaylight.controller.yang.data.api.Node;\r
-\r
-\r
-public class DemoUtils {\r
-\r
-    public static final URI namespace = uri("urn:cisco:prototype:sal:demo");\r
-    public static final Date revision = new Date();\r
-\r
-    public static final QName alertNotification = qName("alert");\r
-    public static final QName changeNotification = qName("change");\r
-\r
-    public static final QName contentNodeName = qName("content");\r
-\r
-    public static URI uri(String str) {\r
-        try {\r
-            return new URI(str);\r
-        } catch (URISyntaxException e) {\r
-            throw new IllegalArgumentException(e);\r
-        }\r
-    }\r
-\r
-    public static QName qName(String str) {\r
-        return new QName(namespace, revision, str);\r
-    }\r
-\r
-    public static Node<?> contentNode(String content) {\r
-        return Nodes.leafNode(contentNodeName, content);\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.controller.sal.demo;
+
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.Date;
+
+import org.opendaylight.controller.yang.common.QName;
+import org.opendaylight.controller.yang.data.api.Node;
+import org.opendaylight.controller.yang.data.util.Nodes;
+
+
+public class DemoUtils {
+
+    public static final URI namespace = uri("urn:cisco:prototype:sal:demo");
+    public static final Date revision = new Date();
+
+    public static final QName alertNotification = qName("alert");
+    public static final QName changeNotification = qName("change");
+
+    public static final QName contentNodeName = qName("content");
+
+    public static URI uri(String str) {
+        try {
+            return new URI(str);
+        } catch (URISyntaxException e) {
+            throw new IllegalArgumentException(e);
+        }
+    }
+
+    public static QName qName(String str) {
+        return new QName(namespace, revision, str);
+    }
+
+    public static Node<?> contentNode(String content) {
+        return Nodes.leafNode(contentNodeName, content);
+    }
+}