diff options
author | Swapnali Pode <SP00501638@techmahindra.com> | 2018-02-19 11:33:06 +0530 |
---|---|---|
committer | Swapnali Pode <SP00501638@techmahindra.com> | 2018-02-19 11:35:17 +0530 |
commit | 1be9a5178c29cb449b609a323df3c1a0fe2139ac (patch) | |
tree | c894d6194518f8016904fd3d15b519349591f2ce | |
parent | 2b0b96e27b11904bb36d8f4887aa28a913727fad (diff) |
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 <SP00501638@techmahindra.com>
-rw-r--r-- | site-manager/src/main/java/org/onap/policy/common/sitemanager/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
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) |