Fix checkstyle violations in sal-binding-broker
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / java / org / opendaylight / controller / md / sal / binding / impl / BindingToNormalizedNodeCodec.java
index 2d4d9b83e597f81ccc756f4cc8e21a170fca0449..e341a04d26b257bbccdb776527b1b9900b4aede6 100644 (file)
@@ -137,6 +137,7 @@ public class BindingToNormalizedNodeCodec
     /**
      * Converts Binding Map.Entry to DOM Map.Entry
      *
+     * <p>
      * Same as {@link #toNormalizedNode(InstanceIdentifier, DataObject)}.
      *
      * @param binding Map Entry with InstanceIdentifier as key and DataObject as value.
@@ -180,11 +181,15 @@ public class BindingToNormalizedNodeCodec
         return this.codecRegistry.toNormalizedNodeRpcData(data);
     }
 
+    public DataNormalizer getDataNormalizer() {
+        return this.legacyToNormalized;
+    }
+
     /**
-     *
      * Returns a Binding-Aware instance identifier from normalized
      * instance-identifier if it is possible to create representation.
      *
+     * <p>
      * Returns Optional.absent for cases where target is mixin node except
      * augmentation.
      *
@@ -199,10 +204,6 @@ public class BindingToNormalizedNodeCodec
         }
     }
 
-    public DataNormalizer getDataNormalizer() {
-        return this.legacyToNormalized;
-    }
-
     public Optional<Entry<InstanceIdentifier<? extends DataObject>, DataObject>> toBinding(
             @Nonnull final Entry<YangInstanceIdentifier, ? extends NormalizedNode<?, ?>> normalized)
             throws DeserializationException {
@@ -315,14 +316,14 @@ public class BindingToNormalizedNodeCodec
         return module;
     }
 
-    private void waitForSchema(final Collection<Class<?>> binding, final MissingSchemaException e) {
+    private void waitForSchema(final Collection<Class<?>> binding, final MissingSchemaException ex) {
         LOG.warn("Blocking thread to wait for schema convergence updates for {} {}", this.futureSchema.getDuration(),
                 this.futureSchema.getUnit());
         if (this.futureSchema.waitForSchema(binding)) {
             return;
         }
 
-        throw e;
+        throw ex;
     }
 
     private Method findRpcMethod(final Class<? extends RpcService> key, final RpcDefinition rpcDef)