Test coverage DmaapMessageAdapterFactoryActivator
[appc.git] / appc-adapters / appc-dmaap-adapter / appc-message-adapter-factory / src / main / java / org / onap / appc / adapter / factory / DmaapMessageAdapterFactoryImpl.java
index 6e6891d..d182f47 100644 (file)
@@ -5,6 +5,8 @@
  * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.\r
  * ================================================================================\r
  * Copyright (C) 2017 Amdocs\r
+ * ================================================================================\r
+ * Modifications Copyright (C) 2019 Ericsson\r
  * =============================================================================\r
  * Licensed under the Apache License, Version 2.0 (the "License");\r
  * you may not use this file except in compliance with the License.\r
@@ -34,7 +36,7 @@ import org.onap.appc.adapter.messaging.dmaap.http.HttpDmaapProducerImpl;
 \r
 public class DmaapMessageAdapterFactoryImpl implements MessageAdapterFactory {\r
 \r
-    \r
+\r
     @Override\r
     public Producer createProducer(Collection<String> pools, String writeTopic, String apiKey, String apiSecret) {\r
         return  new  HttpDmaapProducerImpl(pools, writeTopic);\r
@@ -46,7 +48,7 @@ public class DmaapMessageAdapterFactoryImpl implements MessageAdapterFactory {
         for(String s : writeTopics){\r
             topic = s;\r
         }\r
-        return new HttpDmaapProducerImpl(pools,topic);\r
+        return new HttpDmaapProducerImpl(pools, topic);\r
     }\r
 \r
     @Override\r