From aba4e3f894ccd2d774240d54344f6ce8cf0ebf20 Mon Sep 17 00:00:00 2001 From: uj426b Date: Thu, 11 Jun 2020 13:37:13 -0400 Subject: [PATCH] Change related to log4j removal needed in models Change-Id: I449aef2c1f83edecc88c379525b8da6c80e9d35f Issue-ID: POLICY-2623 Signed-off-by: uj426b --- .../onap/policy/models/sim/pdp/PdpSimulatorCommandLineArguments.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/models-sim/policy-models-sim-pdp/src/main/java/org/onap/policy/models/sim/pdp/PdpSimulatorCommandLineArguments.java b/models-sim/policy-models-sim-pdp/src/main/java/org/onap/policy/models/sim/pdp/PdpSimulatorCommandLineArguments.java index 8eff1af42..2076df678 100644 --- a/models-sim/policy-models-sim-pdp/src/main/java/org/onap/policy/models/sim/pdp/PdpSimulatorCommandLineArguments.java +++ b/models-sim/policy-models-sim-pdp/src/main/java/org/onap/policy/models/sim/pdp/PdpSimulatorCommandLineArguments.java @@ -1,7 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2019 Nordix Foundation. - * Modifications Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2019, 2020 AT&T Intellectual Property. 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. @@ -33,7 +33,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.common.utils.resources.ResourceUtils; import org.onap.policy.models.sim.pdp.exception.PdpSimulatorException; @@ -140,7 +139,7 @@ public class PdpSimulatorCommandLineArguments { } if (commandLine.hasOption('h')) { - return help(Main.class.getName()); + return help(PdpSimulatorMain.class.getName()); } if (commandLine.hasOption('v')) { -- 2.16.6