From bea0762a2c28ee0330036843e17f5af38e06c807 Mon Sep 17 00:00:00 2001 From: "a.sreekumar" Date: Thu, 25 Jun 2020 16:48:15 +0100 Subject: Fixing error with Main class name usage in APEX Change-Id: I0da222e592e6e29f0afca4a1515d8f126fe91cbb Issue-ID: POLICY-2623 Signed-off-by: a.sreekumar --- .../policy/apex/services/onappf/ApexStarterCommandLineArguments.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'services/services-onappf/src') diff --git a/services/services-onappf/src/main/java/org/onap/policy/apex/services/onappf/ApexStarterCommandLineArguments.java b/services/services-onappf/src/main/java/org/onap/policy/apex/services/onappf/ApexStarterCommandLineArguments.java index f8e7d27f8..cad2ffa72 100644 --- a/services/services-onappf/src/main/java/org/onap/policy/apex/services/onappf/ApexStarterCommandLineArguments.java +++ b/services/services-onappf/src/main/java/org/onap/policy/apex/services/onappf/ApexStarterCommandLineArguments.java @@ -1,6 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2019 Nordix Foundation. + * Modifications Copyright (C) 2020 Bell Canada. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,7 +32,6 @@ import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Option; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; -import org.apache.log4j.chainsaw.Main; import org.onap.policy.apex.services.onappf.exception.ApexStarterException; import org.onap.policy.apex.services.onappf.exception.ApexStarterRunTimeException; import org.onap.policy.common.utils.resources.ResourceUtils; @@ -137,7 +137,7 @@ public class ApexStarterCommandLineArguments { } if (commandLine.hasOption('h')) { - return help(Main.class.getName()); + return help(ApexStarterMain.class.getName()); } if (commandLine.hasOption('v')) { -- cgit 1.2.3-korg