From 09ca5f00b5fb88d35987e1922c34cae8469ed79d Mon Sep 17 00:00:00 2001 From: "Magnusen, Drew (dm741q)" Date: Wed, 2 Aug 2017 13:00:23 -0500 Subject: [POLICY-98] Code cleanup for sonar issues. Modified code in ECOMP-Logging to resolve critical/major sonar issues. Not all issues were resolved as some guidance needs to be provided for specific cases. Restored config/policyLogger.properties file. It was modified by a junit test. Change-Id: I49fee98b2497d9d503d81bbbacbb1b416e1058a7 Signed-off-by: Magnusen, Drew (dm741q) --- .../src/main/java/org/onap/policy/common/logging/ONAPLoggingUtils.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common-logging/src/main/java/org/onap/policy/common/logging/ONAPLoggingUtils.java') diff --git a/common-logging/src/main/java/org/onap/policy/common/logging/ONAPLoggingUtils.java b/common-logging/src/main/java/org/onap/policy/common/logging/ONAPLoggingUtils.java index b4d4d8d2..e0778ea3 100644 --- a/common-logging/src/main/java/org/onap/policy/common/logging/ONAPLoggingUtils.java +++ b/common-logging/src/main/java/org/onap/policy/common/logging/ONAPLoggingUtils.java @@ -24,6 +24,8 @@ import javax.servlet.http.HttpServletRequest; public class ONAPLoggingUtils { + private ONAPLoggingUtils() {}; + public static ONAPLoggingContext getLoggingContextForRequest(HttpServletRequest request, ONAPLoggingContext baseContext) { -- cgit 1.2.3-korg