Remove empty javadocs and make strings constant 14/16314/2
authorRobert Varga <rovarga@cisco.com>
Wed, 11 Mar 2015 10:17:50 +0000 (11:17 +0100)
committerRobert Varga <rovarga@cisco.com>
Wed, 11 Mar 2015 18:22:48 +0000 (19:22 +0100)
Cleans up malformed an empty javadocs and also make string constants
really constant.

Change-Id: Ic1abe2f7c2cb6e6327fde7095742fc0a96ca2e02
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-rest-docgen/src/main/java/org/opendaylight/controller/sal/rest/doc/model/builder/OperationBuilder.java

index 7e27b505413bb795f4ec51dff41927237c7679d5..38c5f7264adf0a8551382c91b8e557d2013df0ac 100644 (file)
@@ -16,22 +16,16 @@ import org.opendaylight.yangtools.yang.model.api.DataNodeContainer;
 import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
 import org.opendaylight.yangtools.yang.model.api.ListSchemaNode;
 
 import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
 import org.opendaylight.yangtools.yang.model.api.ListSchemaNode;
 
-/**
- *
- */
 public final class OperationBuilder {
 
     public static final String OPERATIONAL = "(operational)";
     public static final String CONFIG = "(config)";
 
 public final class OperationBuilder {
 
     public static final String OPERATIONAL = "(operational)";
     public static final String CONFIG = "(config)";
 
-    /**
-   *
-   */
     public static class Get {
 
         protected Operation spec;
         protected DataSchemaNode schemaNode;
     public static class Get {
 
         protected Operation spec;
         protected DataSchemaNode schemaNode;
-        private final String METHOD_NAME = "GET";
+        private static final String METHOD_NAME = "GET";
 
         public Get(DataSchemaNode node, boolean isConfig) {
             this.schemaNode = node;
 
         public Get(DataSchemaNode node, boolean isConfig) {
             this.schemaNode = node;
@@ -53,13 +47,10 @@ public final class OperationBuilder {
         }
     }
 
         }
     }
 
-    /**
-   *
-   */
     public static class Put {
         protected Operation spec;
         protected String nodeName;
     public static class Put {
         protected Operation spec;
         protected String nodeName;
-        private final String METHOD_NAME = "PUT";
+        private static final String METHOD_NAME = "PUT";
 
         public Put(String nodeName, final String description) {
             this.nodeName = nodeName;
 
         public Put(String nodeName, final String description) {
             this.nodeName = nodeName;
@@ -85,9 +76,6 @@ public final class OperationBuilder {
         }
     }
 
         }
     }
 
-    /**
-   *
-   */
     public static final class Post extends Put {
 
         public static final String METHOD_NAME = "POST";
     public static final class Post extends Put {
 
         public static final String METHOD_NAME = "POST";
@@ -129,11 +117,8 @@ public final class OperationBuilder {
         }
     }
 
         }
     }
 
-    /**
-   *
-   */
     public static final class Delete extends Get {
     public static final class Delete extends Get {
-        private final String METHOD_NAME = "DELETE";
+        private static final String METHOD_NAME = "DELETE";
 
         public Delete(DataSchemaNode node) {
             super(node, false);
 
         public Delete(DataSchemaNode node) {
             super(node, false);