Bug 2245 Fixed Avoid cycle between java packages
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / keys / InstructionSerializerKey.java
index 73d0f1530dee2610ee05fb489c5e7b7b14c865f8..2b7df97c23cdcb825da1a73c48831bf43c0ed25c 100644 (file)
@@ -8,18 +8,17 @@
 
 package org.opendaylight.openflowjava.protocol.api.keys;
 
-import org.opendaylight.openflowjava.protocol.api.extensibility.MessageTypeKey;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.InstructionBase;
 
 /**
  * @author michal.polkorab
- * @param <TYPE> action type
+ * @param <T> instruction type
  */
-public class InstructionSerializerKey<TYPE extends InstructionBase>
+public class InstructionSerializerKey<T extends InstructionBase>
         extends MessageTypeKey<Instruction>{
 
-    private Class<TYPE> instructionType;
+    private Class<T> instructionType;
     private Long experimenterId;
 
     /**
@@ -28,7 +27,7 @@ public class InstructionSerializerKey<TYPE extends InstructionBase>
      * @param instructionType type of instruction
      * @param experimenterId experimenter / vendor ID
      */
-    public InstructionSerializerKey(short msgVersion, Class<TYPE> instructionType,
+    public InstructionSerializerKey(short msgVersion, Class<T> instructionType,
             Long experimenterId) {
         super(msgVersion, Instruction.class);
         this.instructionType = instructionType;