Fix issues related to checkstyle enforcement on openflow-impl module
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / protocol / serialization / util / InstructionUtil.java
index eb65b15222678fb93467deff4ae24f1448ac18a0..413c4fdbf4ad01f96b620940e889885b8a3db3ab 100644 (file)
@@ -8,7 +8,6 @@
 
 package org.opendaylight.openflowplugin.impl.protocol.serialization.util;
 
-
 import io.netty.buffer.ByteBuf;
 import org.opendaylight.openflowjava.protocol.api.extensibility.HeaderSerializer;
 import org.opendaylight.openflowjava.protocol.api.extensibility.OFSerializer;
@@ -17,12 +16,16 @@ import org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.Instruction;
 
 /**
- * Utility class for instruction serialization
+ * Utility class for instruction serialization.
  */
-public class InstructionUtil {
+public final class InstructionUtil {
+
+    private InstructionUtil() {
+    }
 
     /**
-     * Serialize instruction
+     * Serialize instruction.
+     *
      * @param instruction OpenFlow instruction
      * @param version OpenFlow version
      * @param registry OpenFlowJava serializer registry
@@ -43,7 +46,8 @@ public class InstructionUtil {
 
 
     /**
-     * Serialize instruction header
+     * Serialize instruction header.
+     *
      * @param instruction OpenFlow instruction
      * @param version OpenFlow version
      * @param registry OpenFlowJava serializer registry