Fix checkstyle violations in sal-dom-broker-config and sal-binding-config
[controller.git] / opendaylight / md-sal / sal-binding-config / src / main / java / org / opendaylight / controller / config / yang / md / sal / binding / impl / BindingBrokerImplModule.java
index 6480080..f9a64ab 100644 (file)
@@ -31,6 +31,8 @@ import org.opendaylight.controller.sal.core.api.Broker;
 import org.opendaylight.controller.sal.core.api.Broker.ProviderSession;
 
 /**
+ * Deprecated.
+ *
  * @deprecated Replaced by blueprint wiring
  */
 @Deprecated
@@ -79,23 +81,25 @@ public final class BindingBrokerImplModule extends
     private BindingDOMRpcProviderServiceAdapter createRpcProvider(final BindingToNormalizedNodeCodec codec,
             final ProviderSession session) {
         final DOMRpcProviderService domService = session.getService(DOMRpcProviderService.class);
-        if(domService != null) {
+        if (domService != null) {
             return new BindingDOMRpcProviderServiceAdapter(domService, codec);
         }
         return null;
     }
 
-    private BindingDOMRpcServiceAdapter createRpcConsumer(final BindingToNormalizedNodeCodec codec, final ProviderSession session) {
+    private BindingDOMRpcServiceAdapter createRpcConsumer(final BindingToNormalizedNodeCodec codec,
+            final ProviderSession session) {
         final DOMRpcService domService = session.getService(DOMRpcService.class);
-        if(domService != null) {
+        if (domService != null) {
             return new BindingDOMRpcServiceAdapter(domService, codec);
         }
         return null;
     }
 
-    private MountPointService createMountPointAdapter(final BindingToNormalizedNodeCodec codec, final ProviderSession session) {
+    private MountPointService createMountPointAdapter(final BindingToNormalizedNodeCodec codec,
+            final ProviderSession session) {
         final DOMMountPointService domService = session.getService(DOMMountPointService.class);
-        if(domService != null) {
+        if (domService != null) {
             return new BindingDOMMountPointServiceAdapter(domService, codec);
         }
         return null;

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.