You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2017/11/08 17:12:30 UTC

[cxf] branch master updated: Fix checkstyle

This is an automated email from the ASF dual-hosted git repository.

dkulp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 89a588e  Fix checkstyle
89a588e is described below

commit 89a588e9b4ab33d5e095ae889c4dbb2db7478195
Author: Daniel Kulp <dk...@apache.org>
AuthorDate: Wed Nov 8 12:11:44 2017 -0500

    Fix checkstyle
---
 .../src/main/java/demo/jms_greeter/broker/EmbeddedBroker.java          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/distribution/src/main/release/samples/jms_pubsub/src/main/java/demo/jms_greeter/broker/EmbeddedBroker.java b/distribution/src/main/release/samples/jms_pubsub/src/main/java/demo/jms_greeter/broker/EmbeddedBroker.java
index ec095e5..d8e8067 100644
--- a/distribution/src/main/release/samples/jms_pubsub/src/main/java/demo/jms_greeter/broker/EmbeddedBroker.java
+++ b/distribution/src/main/release/samples/jms_pubsub/src/main/java/demo/jms_greeter/broker/EmbeddedBroker.java
@@ -21,6 +21,7 @@ package demo.jms_greeter.broker;
 
 import java.io.File;
 import java.util.HashSet;
+import java.util.Set;
 
 import org.apache.activemq.artemis.api.core.TransportConfiguration;
 import org.apache.activemq.artemis.core.config.Configuration;
@@ -35,7 +36,7 @@ public final class EmbeddedBroker {
 
     public static void main(String[] args) throws Exception {
         Configuration config = new ConfigurationImpl();
-        HashSet<TransportConfiguration> transports = new HashSet<TransportConfiguration>();
+        Set<TransportConfiguration> transports = new HashSet<TransportConfiguration>();
         transports.add(new TransportConfiguration(NettyAcceptorFactory.class.getName()));
         transports.add(new TransportConfiguration(InVMAcceptorFactory.class.getName()));
         config.setAcceptorConfigurations(transports); 

-- 
To stop receiving notification emails like this one, please contact
['"commits@cxf.apache.org" <co...@cxf.apache.org>'].