From b00efa60d016dc80e56bc47259ff2a324aa7db52 Mon Sep 17 00:00:00 2001 From: manisha07 Date: Wed, 6 Nov 2019 16:19:43 +0530 Subject: no need to call toString Issue-ID: OPTFRA-631 Change-Id: I2073a2b350523ffa2fce85d5298ac60cd3ab00fb Signed-off-by: manisha07 --- .../main/java/org/onap/optf/ticketmgt/filters/CmsoClientFilters.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmso-ticketmgt/src') 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 headers = requestContext.getHeaders(); String transactionId = (String) headers.getFirst(MessageHeaders.HeadersEnum.TransactionID.toString()); -- cgit 1.2.3-korg