Rework IOVisor model and validate IovisorModuleInstance on Endpoint created events
[groupbasedpolicy.git] / groupbasedpolicy / src / main / java / org / opendaylight / groupbasedpolicy / endpoint / EndpointRpcRegistry.java
index e389b1dd330a9a6c196a383b8b9345ea07af84b7..951f1f8b57da47cb18fb6f72918e126f486116ff 100644 (file)
@@ -115,8 +115,9 @@ public class EndpointRpcRegistry implements EndpointService, AutoCloseable {
             rpcRegistration =
                     this.rpcRegistry.addRpcImplementation(EndpointService.class, this);
             LOG.debug("Added RPC Implementation Correctly");
-        } else
+        } else {
             rpcRegistration = null;
+        }
 
         if (dataProvider != null) {
             InstanceIdentifier<Endpoints> iid =