From 6c3192ce8ef5283b97da0853e39a0d571f6bdd7b Mon Sep 17 00:00:00 2001 From: waynedunican Date: Thu, 13 Aug 2020 12:23:39 +0100 Subject: SONAR fixes - log formatting Fixed the sonar issues relating to Printf format being used for logging instead of String concatenation Issue-ID: POLICY-2773 Change-Id: I38db8d1df077fd7102f6c4f9b33685f2914bd624 Signed-off-by: waynedunican --- .../java/org/onap/policy/apex/services/onappf/ApexStarterMain.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'services/services-onappf/src/main/java/org') diff --git a/services/services-onappf/src/main/java/org/onap/policy/apex/services/onappf/ApexStarterMain.java b/services/services-onappf/src/main/java/org/onap/policy/apex/services/onappf/ApexStarterMain.java index 4a5fb360e..609be10c2 100644 --- a/services/services-onappf/src/main/java/org/onap/policy/apex/services/onappf/ApexStarterMain.java +++ b/services/services-onappf/src/main/java/org/onap/policy/apex/services/onappf/ApexStarterMain.java @@ -2,6 +2,7 @@ * ============LICENSE_START======================================================= * Copyright (C) 2019-2020 Nordix Foundation. * Modifications Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2020 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,7 +51,8 @@ public class ApexStarterMain { * @param args the command line arguments */ public ApexStarterMain(final String[] args) { - LOGGER.info("In ApexStarter with parameters " + Arrays.toString(args)); + final String params = Arrays.toString(args); + LOGGER.info("In ApexStarter with parameters {}", params); // Check the arguments final ApexStarterCommandLineArguments arguments = new ApexStarterCommandLineArguments(); -- cgit 1.2.3-korg