Formatting Code base with ktlint
[ccsdk/cds.git] / ms / blueprintsprocessor / modules / commons / dmaap-lib / src / main / kotlin / org / onap / ccsdk / cds / blueprintsprocessor / dmaap / AafAuthDmaapClientService.kt
index 2dbea8f..8ccd8cd 100644 (file)
@@ -27,16 +27,17 @@ import com.att.nsa.mr.client.impl.MRSimplerBatchPublisher
 /**
  * Representation of DMAAP client service for AAF auth type.
  */
-class AafAuthDmaapClientService(private val clientProps:
-                                AafAuthDmaapClientProperties)
-    : BluePrintDmaapClientService {
+class AafAuthDmaapClientService(
+    private val clientProps:
+    AafAuthDmaapClientProperties
+) :
+    BluePrintDmaapClientService {
 
     /**
      * The constructed DMAAP client.
      */
     var clients: MutableList<MRBatchingPublisher> = mutableListOf()
 
-
     /**
      * Returns the DMAAP client after constructing it properly with the data
      * that is required for AAF auth connection.
@@ -52,12 +53,12 @@ class AafAuthDmaapClientService(private val clientProps:
             val client = MRClientFactory.createBatchingPublisher(
                 clientProps.host, t, clientProps.username,
                 clientProps.password, 1, 1, false,
-                clientProps.type, "")
+                clientProps.type, ""
+            )
             val batchPublisher = client as MRSimplerBatchPublisher
             batchPublisher.props = clientProps.props
             clients.add(client)
         }
         return clients
     }
-
-}
\ No newline at end of file
+}