X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Frestconf-nb-rfc8040%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Frestconf%2Fnb%2Frfc8040%2Frests%2Fservices%2Fimpl%2FRestconfDataServiceImpl.java;h=ea4bc46ed43246b10678e202dd5a64791bf6ecc8;hb=40fcd10098a68ea8a8acf1b020252ccb2e0b9f9c;hp=6e7c0d5d042497b2163b641fb2608720362a53de;hpb=7d79923bd5d06421d059493424111393e046e980;p=netconf.git diff --git a/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfDataServiceImpl.java b/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfDataServiceImpl.java index 6e7c0d5d04..ea4bc46ed4 100644 --- a/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfDataServiceImpl.java +++ b/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfDataServiceImpl.java @@ -292,7 +292,7 @@ public class RestconfDataServiceImpl implements RestconfDataService { public Response postData(final NormalizedNodeContext payload, final UriInfo uriInfo) { requireNonNull(payload); if (payload.getInstanceIdentifierContext().getSchemaNode() instanceof ActionDefinition) { - return invokeAction(payload, uriInfo); + return invokeAction(payload); } final QueryParams checkedParms = checkQueryParameters(uriInfo); @@ -405,13 +405,10 @@ public class RestconfDataServiceImpl implements RestconfDataService { /** * Invoke Action operation. * - * @param payload - * {@link NormalizedNodeContext} - the body of the operation - * @param uriInfo - * URI info + * @param payload {@link NormalizedNodeContext} - the body of the operation * @return {@link NormalizedNodeContext} wrapped in {@link Response} */ - public Response invokeAction(final NormalizedNodeContext payload, final UriInfo uriInfo) { + public Response invokeAction(final NormalizedNodeContext payload) { final InstanceIdentifierContext context = payload.getInstanceIdentifierContext(); final DOMMountPoint mountPoint = context.getMountPoint(); final SchemaPath schemaPath = context.getSchemaNode().getPath();