diff options
author | Vikas Varma <vv8305@att.com> | 2020-01-22 16:50:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-01-22 16:50:21 +0000 |
commit | f5f2f2bfc5e5f180a2664b53d1c325484b677f39 (patch) | |
tree | f8a17ebfa877b8387bd641eaf6035dcd06419ce8 | |
parent | 520fdcf304cc2ea282859017b4a3ccf26ee5ae70 (diff) | |
parent | d033e72dd122bdbfb105ec5f2efc98349f164aba (diff) |
Merge "Mdc.java-remove the unused comments"
-rw-r--r-- | cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java | 2 | ||||
-rw-r--r-- | cmso-topology/src/main/java/org/onap/observations/Mdc.java | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java b/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java index 5109b70..0394139 100644 --- a/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java +++ b/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java @@ -198,9 +198,7 @@ public class Mdc { * @param response the response */ public static void metricEnd(ClientResponseContext response) { - Date now = new Date(); - // MDC.put(MDC_BEGIN_TIMESTAMP, Stopwatch.isoFormatter.format(now)); MDC.put(MDC_END_TIMESTAMP, Stopwatch.isoFormatter.format(now)); setResponseInfo(response.getStatusInfo()); diff --git a/cmso-topology/src/main/java/org/onap/observations/Mdc.java b/cmso-topology/src/main/java/org/onap/observations/Mdc.java index f040437..45c134c 100644 --- a/cmso-topology/src/main/java/org/onap/observations/Mdc.java +++ b/cmso-topology/src/main/java/org/onap/observations/Mdc.java @@ -196,7 +196,6 @@ public class Mdc { public static void metricEnd(ClientResponseContext response) { Date now = new Date(); - // MDC.put(MDC_BEGIN_TIMESTAMP, Stopwatch.isoFormatter.format(now)); MDC.put(MDC_END_TIMESTAMP, Stopwatch.isoFormatter.format(now)); setResponseInfo(response.getStatusInfo()); |