From 134ae90b8d8f5b19d9915adbc9b1a70d8c27540e Mon Sep 17 00:00:00 2001 From: Jerry Flood Date: Thu, 11 Apr 2019 12:05:57 -0400 Subject: More Changes for checkstyle warnings Issue-ID: OPTFRA-474 Change-Id: Id2bb4e806cb5d16620b3cad2651ab9c90b007c5c Signed-off-by: Jerry Flood --- cmso-service/src/main/java/org/onap/observations/Mdc.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cmso-service/src/main/java/org/onap/observations/Mdc.java') diff --git a/cmso-service/src/main/java/org/onap/observations/Mdc.java b/cmso-service/src/main/java/org/onap/observations/Mdc.java index 28d0ec8..a27080a 100644 --- a/cmso-service/src/main/java/org/onap/observations/Mdc.java +++ b/cmso-service/src/main/java/org/onap/observations/Mdc.java @@ -114,8 +114,7 @@ public class Mdc { */ public static void setCaller(int back) { String caller = MDC.get(Enum.ClassName.name()); - if (caller == null) - { + if (caller == null) { MDC.put(Enum.ClassName.name(), getCaller(back)); } } @@ -187,8 +186,7 @@ public class Mdc { */ public static void restore(Map mdcSave) { MDC.clear(); - for (String name : mdcSave.keySet()) - { + for (String name : mdcSave.keySet()) { MDC.put(name, mdcSave.get(name)); } } -- cgit 1.2.3-korg