summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-09-27 07:53:31 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-27 07:53:31 +0000
commit3458e16a7f0c9b48337a295359cda65423dbd587 (patch)
tree12923f0dfbf6fd3684b53076af58984e349ad23c
parentc76a924dbea9de49d6d858bc66c700583b3cc5b5 (diff)
parentfde2515098be8db3eae61e1aa510a747dd660e10 (diff)
Merge "Use Long.toString instead"
-rw-r--r--sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/MetricLogger.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/MetricLogger.java b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/MetricLogger.java
index 0d0faee8..0f6ae673 100644
--- a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/MetricLogger.java
+++ b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/MetricLogger.java
@@ -209,7 +209,7 @@ public class MetricLogger {
}
private void setElapsedTime(long elapsedTime) {
- MDC.put(ELAPSED_TIME, ""+elapsedTime);
+ MDC.put(ELAPSED_TIME, Long.toString(elapsedTime));
}
public String getServer() {