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 8a122e7843a516d00fa22ef5de6c813deb9356aa..b860ef2d922e85827db6bdeb613eab68cd6f18b5 100644 (file)
@@ -11,13 +11,14 @@ import org.opendaylight.restconf.Rfc8040;
 import org.opendaylight.yangtools.yang.common.QName;
 
 /**
+ * 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 {}
 }