Cleans up malformed an empty javadocs and also make string constants
really constant.
Change-Id: Ic1abe2f7c2cb6e6327fde7095742fc0a96ca2e02
Signed-off-by: Robert Varga <rovarga@cisco.com>
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;
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;
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";
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);