Test coverage DmaapMessageAdapterFactoryActivator
[appc.git] / appc-adapters / appc-dmaap-adapter / appc-message-adapter-factory / src / main / java / org / onap / appc / adapter / factory / DmaapMessageAdapterFactoryActivator.java
index 1f929fb..fc0ded1 100644 (file)
@@ -5,6 +5,8 @@
  * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Copyright (C) 2017 Amdocs
+ * ================================================================================
+ * Modifications Copyright (C) 2019 Ericsson
  * =============================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,19 +30,19 @@ import org.osgi.framework.BundleContext;
 import org.osgi.framework.ServiceRegistration;
 
 public class DmaapMessageAdapterFactoryActivator implements BundleActivator {
-       private ServiceRegistration registration;
+    private ServiceRegistration registration;
 
-       @Override
-       public void start(BundleContext context) throws Exception {
-               registration = context.registerService(
-                               MessageAdapterFactory.class.getName(),
-                               new DmaapMessageAdapterFactoryImpl(),
-                               null);
-       }
+    @Override
+    public void start(BundleContext context) throws Exception {
+        registration = context.registerService(
+                MessageAdapterFactory.class.getName(),
+                new DmaapMessageAdapterFactoryImpl(),
+                null);
+    }
 
-       @Override
-       public void stop(BundleContext context) throws Exception {
-               registration.unregister();
-       }
+    @Override
+    public void stop(BundleContext context) throws Exception {
+        registration.unregister();
+    }
 
 }