diff options
Diffstat (limited to 'gui-pdp-monitoring/src/test')
2 files changed, 3 insertions, 2 deletions
diff --git a/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/MonitoringMainTest.java b/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/MonitoringMainTest.java index b680cac..3606b44 100644 --- a/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/MonitoringMainTest.java +++ b/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/MonitoringMainTest.java @@ -140,7 +140,7 @@ public class MonitoringMainTest { public void testMonitoringForeverStart() { final String[] eventArgs = {"-t", "-1"}; - PdpMonitoringMain monRestMain = new PdpMonitoringMain(eventArgs); + var monRestMain = new PdpMonitoringMain(eventArgs); Thread monThread = new Thread() { @Override diff --git a/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/MonitoringRestTest.java b/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/MonitoringRestTest.java index 06fe3b3..a8459cd 100644 --- a/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/MonitoringRestTest.java +++ b/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/MonitoringRestTest.java @@ -1,6 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2020 Nordix Foundation. + * Modifications Copyright (C) 2021 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. @@ -32,7 +33,7 @@ public class MonitoringRestTest { @Test public void test() { - PdpMonitoringServerParameters parameters = new PdpMonitoringServerParameters(); + var parameters = new PdpMonitoringServerParameters(); parameters.setPort(12345); assertEquals(12345, parameters.getPort()); } |