diff options
Diffstat (limited to 'cmso-service/src')
-rw-r--r-- | cmso-service/src/main/java/org/onap/optf/cmso/filters/CmsoClientFilters.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmso-service/src/main/java/org/onap/optf/cmso/filters/CmsoClientFilters.java b/cmso-service/src/main/java/org/onap/optf/cmso/filters/CmsoClientFilters.java index d43c60b..893d74c 100644 --- a/cmso-service/src/main/java/org/onap/optf/cmso/filters/CmsoClientFilters.java +++ b/cmso-service/src/main/java/org/onap/optf/cmso/filters/CmsoClientFilters.java @@ -72,7 +72,7 @@ public class CmsoClientFilters implements ClientRequestFilter, ClientResponseFil String transactionId = (String) headers.getFirst(MessageHeaders.HeadersEnum.TransactionID.toString()); String mdcId = MDC.get(MDC_KEY_REQUEST_ID); - if (transactionId == null || transactionId.equals("")) { + if (transactionId == null || "".equals(transactionId)) { if (mdcId != null) { headers.add(HeadersEnum.TransactionID.toString(), mdcId); } |