WIP: Bump upstreams
[openflowplugin.git] / test-provider / src / main / java / org / opendaylight / openflowplugin / test / OpenflowpluginTestServiceProvider.java
index 521ce330e1321a8541a6dac912ea6d018a08555d..00d76392440e6d1757d55720eafdbcb0ba22f9b9 100644 (file)
@@ -30,16 +30,14 @@ import org.opendaylight.yangtools.yang.common.RpcResult;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class OpenflowpluginTestServiceProvider implements AutoCloseable,
-        SalFlowService {
-
-    private static final Logger LOG = LoggerFactory
-            .getLogger(OpenflowpluginTestServiceProvider.class);
+public class OpenflowpluginTestServiceProvider implements AutoCloseable, SalFlowService {
+    private static final Logger LOG = LoggerFactory.getLogger(OpenflowpluginTestServiceProvider.class);
 
     private final DataBroker dataService;
-    private ObjectRegistration<SalFlowService> flowRegistration;
     private final NotificationPublishService notificationProviderService;
 
+    private ObjectRegistration<SalFlowService> flowRegistration = null;
+
     public OpenflowpluginTestServiceProvider(final DataBroker dataService,
             final NotificationPublishService notificationProviderService) {
         this.dataService = dataService;