Split Restconf implementations (draft02 and RFC) - move
[netconf.git] / restconf / restconf-nb-bierman02 / src / main / java / org / opendaylight / restconf / utils / parser / ParserFieldsParameter.java
index a4b9217d2f768022828ac7e862b21f28eb59b693..2ba3f045615748d6c6522d2f712bace95ebfabfc 100644 (file)
@@ -25,6 +25,12 @@ import org.opendaylight.yangtools.yang.data.util.DataSchemaContextNode;
 import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
 
+/**
+ * Parameters parser.
+ *
+ * @deprecated move to splitted module restconf-nb-rfc8040
+ */
+@Deprecated
 public class ParserFieldsParameter {
     private static final char COLON = ':';
     private static final char SEMICOLON = ';';
@@ -112,7 +118,7 @@ public class ParserFieldsParameter {
                             currentNode,
                             input.substring(startPosition, currentPosition), currentQNameModule, currentLevel);
                     // call with child node as new start node for one level down
-                    int closingParenthesis = currentPosition
+                    final int closingParenthesis = currentPosition
                             + findClosingParenthesis(input.substring(currentPosition + 1));
                     parseInput(
                             input.substring(currentPosition + 1, closingParenthesis),