diff options
author | manisha07 <cmanis10@in.ibm.com> | 2019-11-06 16:19:43 +0530 |
---|---|---|
committer | manisha07 <cmanis10@in.ibm.com> | 2019-11-06 16:19:58 +0530 |
commit | b00efa60d016dc80e56bc47259ff2a324aa7db52 (patch) | |
tree | 8c0304c9e705850fbbcf461eeda85b59e6df376f /cmso-ticketmgt | |
parent | b0ea96ed0edd3436e2a9de33ce8340279982d445 (diff) |
no need to call toString
Issue-ID: OPTFRA-631
Change-Id: I2073a2b350523ffa2fce85d5298ac60cd3ab00fb
Signed-off-by: manisha07 <cmanis10@in.ibm.com>
Diffstat (limited to 'cmso-ticketmgt')
-rw-r--r-- | cmso-ticketmgt/src/main/java/org/onap/optf/ticketmgt/filters/CmsoClientFilters.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmso-ticketmgt/src/main/java/org/onap/optf/ticketmgt/filters/CmsoClientFilters.java b/cmso-ticketmgt/src/main/java/org/onap/optf/ticketmgt/filters/CmsoClientFilters.java index ac1569c..0d4f464 100644 --- a/cmso-ticketmgt/src/main/java/org/onap/optf/ticketmgt/filters/CmsoClientFilters.java +++ b/cmso-ticketmgt/src/main/java/org/onap/optf/ticketmgt/filters/CmsoClientFilters.java @@ -59,7 +59,7 @@ public class CmsoClientFilters implements ClientRequestFilter, ClientResponseFil Mdc.metricEnd(responseContext); Mdc.setCaller(17); Observation.report(LogMessages.OUTGOING_MESSAGE_RETURNED, requestContext.getMethod(), - requestContext.getUri().getPath().toString(), responseContext.getStatusInfo().toString()); + requestContext.getUri().getPath(), responseContext.getStatusInfo().toString()); } @Override @@ -68,7 +68,7 @@ public class CmsoClientFilters implements ClientRequestFilter, ClientResponseFil Mdc.metricStart(requestContext); Mdc.setCaller(17); Observation.report(LogMessages.OUTGOING_MESSAGE, requestContext.getMethod(), - requestContext.getUri().getPath().toString()); + requestContext.getUri().getPath()); MultivaluedMap<String, Object> headers = requestContext.getHeaders(); String transactionId = (String) headers.getFirst(MessageHeaders.HeadersEnum.TransactionID.toString()); |