import java.util.Set;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
-import org.opendaylight.netconf.sal.restconf.impl.InstanceIdentifierContext;
-import org.opendaylight.netconf.sal.restconf.impl.RestconfDocumentedException;
-import org.opendaylight.netconf.sal.restconf.impl.RestconfError.ErrorTag;
-import org.opendaylight.netconf.sal.restconf.impl.RestconfError.ErrorType;
+import org.opendaylight.restconf.common.context.InstanceIdentifierContext;
+import org.opendaylight.restconf.common.errors.RestconfDocumentedException;
+import org.opendaylight.restconf.common.errors.RestconfError.ErrorTag;
+import org.opendaylight.restconf.common.errors.RestconfError.ErrorType;
import org.opendaylight.restconf.utils.parser.builder.ParserBuilderConstants.Deserializer;
import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.common.QNameModule;
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 = ';';
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),