diff options
author | Magnusen, Drew (dm741q) <dm741q@att.com> | 2017-08-02 13:00:23 -0500 |
---|---|---|
committer | Magnusen, Drew (dm741q) <dm741q@att.com> | 2017-08-04 08:02:00 -0500 |
commit | 09ca5f00b5fb88d35987e1922c34cae8469ed79d (patch) | |
tree | 4a91d76e1d51257bf2279e06cf96cbd760ae8e6e /common-logging/src/main/java/org/onap/policy/common/logging/ONAPLoggingUtils.java | |
parent | a7ab43dbd252c5bc70e490f4db94940e6985f25a (diff) |
[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) <dm741q@att.com>
Diffstat (limited to 'common-logging/src/main/java/org/onap/policy/common/logging/ONAPLoggingUtils.java')
-rw-r--r-- | common-logging/src/main/java/org/onap/policy/common/logging/ONAPLoggingUtils.java | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |