Bug 8351: Enforce check-style rules for restconf - sal-rest-connector
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / netconf / sal / rest / api / Draft02.java
index dd530b27a2f446d83c60c422315e7120d618c5f4..b860ef2d922e85827db6bdeb613eab68cd6f18b5 100644 (file)
@@ -7,17 +7,18 @@
  */
 package org.opendaylight.netconf.sal.rest.api;
 
-import org.opendaylight.restconf.Draft16;
+import org.opendaylight.restconf.Rfc8040;
 import org.opendaylight.yangtools.yang.common.QName;
 
 /**
- * @deprecated Do not use old implementation of restconf draft. It will be
- *             replaced by {@link Draft16}.
+ * Base Draft for Restconf project.
  *
+ * @deprecated Do not use old implementation of restconf draft. It will be
+ *             replaced by {@link Rfc8040}.
  */
 @Deprecated
 public class Draft02 {
-    public static interface MediaTypes {
+    public interface MediaTypes {
         String API = "application/yang.api";
         String DATASTORE = "application/yang.datastore";
         String DATA = "application/yang.data";
@@ -27,7 +28,7 @@ public class Draft02 {
         String STREAM = "application/yang.stream";
     }
 
-    public static interface RestConfModule {
+    public interface RestConfModule {
         String REVISION = "2013-10-19";
 
         String NAME = "ietf-restconf";
@@ -72,7 +73,5 @@ public class Draft02 {
         QName ERROR_INFO_QNAME = QName.create(IETF_RESTCONF_QNAME, "error-info");
     }
 
-    public static interface Paths {
-
-    }
+    public interface Paths {}
 }