This is an automated email from the ASF dual-hosted git repository. coheigea pushed a commit to branch 3.1.x-fixes in repository https://gitbox.apache.org/repos/asf/cxf.git
commit fb729a56a725ccd28d56e9aa06d643a84e29da96 Author: Colm O hEigeartaigh <[email protected]> AuthorDate: Wed Jun 6 18:46:28 2018 +0100 Fixing backport --- .../cxf/systest/https/hostname/HostnameVerificationTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/systests/transports/src/test/java/org/apache/cxf/systest/https/hostname/HostnameVerificationTest.java b/systests/transports/src/test/java/org/apache/cxf/systest/https/hostname/HostnameVerificationTest.java index 06de5d3..fb3bc69 100644 --- a/systests/transports/src/test/java/org/apache/cxf/systest/https/hostname/HostnameVerificationTest.java +++ b/systests/transports/src/test/java/org/apache/cxf/systest/https/hostname/HostnameVerificationTest.java @@ -206,8 +206,8 @@ public class HostnameVerificationTest extends AbstractBusClientServerTestBase { URL busFile = HostnameVerificationTest.class.getResource("hostname-client-disablecn.xml"); Bus bus = bf.createBus(busFile.toString()); - BusFactory.setDefaultBus(bus); - BusFactory.setThreadDefaultBus(bus); + SpringBusFactory.setDefaultBus(bus); + SpringBusFactory.setThreadDefaultBus(bus); URL url = SOAPService.WSDL_LOCATION; SOAPService service = new SOAPService(url, SOAPService.SERVICE); @@ -240,8 +240,8 @@ public class HostnameVerificationTest extends AbstractBusClientServerTestBase { URL busFile = HostnameVerificationTest.class.getResource("hostname-client-usedefault.xml"); Bus bus = bf.createBus(busFile.toString()); - BusFactory.setDefaultBus(bus); - BusFactory.setThreadDefaultBus(bus); + SpringBusFactory.setDefaultBus(bus); + SpringBusFactory.setThreadDefaultBus(bus); URL url = SOAPService.WSDL_LOCATION; SOAPService service = new SOAPService(url, SOAPService.SERVICE); @@ -269,8 +269,8 @@ public class HostnameVerificationTest extends AbstractBusClientServerTestBase { URL busFile = HostnameVerificationTest.class.getResource("hostname-client.xml"); Bus bus = bf.createBus(busFile.toString()); - BusFactory.setDefaultBus(bus); - BusFactory.setThreadDefaultBus(bus); + SpringBusFactory.setDefaultBus(bus); + SpringBusFactory.setThreadDefaultBus(bus); URL url = SOAPService.WSDL_LOCATION; SOAPService service = new SOAPService(url, SOAPService.SERVICE); -- To stop receiving notification emails like this one, please contact [email protected].
