From 1be9a5178c29cb449b609a323df3c1a0fe2139ac Mon Sep 17 00:00:00 2001 From: Swapnali Pode Date: Mon, 19 Feb 2018 11:33:06 +0530 Subject: Replace System.out by logger Replace this use of System.out or System.err by a logger Main.java:L605 Sonar Link: https://sonar.onap.org/project/issues?assignees=swapnalipode&id=org.onap.policy.common%3Acommon-modules&resolved=false Location: src\main\java\org\onap\policy\common\sitemanager\Main.java Change-Id: I6f39ee886e4d3caf8e9a1ae9ab57dd8e4847e3bd Issue-ID: POLICY-635 Signed-off-by: Swapnali Pode --- site-manager/src/main/java/org/onap/policy/common/sitemanager/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site-manager/src') diff --git a/site-manager/src/main/java/org/onap/policy/common/sitemanager/Main.java b/site-manager/src/main/java/org/onap/policy/common/sitemanager/Main.java index 876e6e06..94ce5765 100644 --- a/site-manager/src/main/java/org/onap/policy/common/sitemanager/Main.java +++ b/site-manager/src/main/java/org/onap/policy/common/sitemanager/Main.java @@ -602,7 +602,7 @@ public class Main // display column headers logger.info(formatString, (Object[])labels); - System.out.printf(formatString, (Object[])underlines); + logger.info(formatString, (Object[])underlines); // display all of the rows for (String[] values : treeset) -- cgit 1.2.3-korg