Fix checkstyle violations in openflowplugin extensions
[openflowplugin.git] / extension / openflowplugin-extension-onf / src / test / java / org / opendaylight / openflowplugin / extension / onf / ByteBufUtils.java
index cf75e1fb5c868d10846caf6ddd9b96705ad9baca..321030514922a71dfb8c9fc227b57dc4245b8b37 100644 (file)
@@ -48,10 +48,10 @@ public abstract class ByteBufUtils {
     private static byte[] hexStringToBytes(final String hexSrc) {
         List<String> byteChips = Lists.newArrayList(HEXSTRING_SPLITTER.split(hexSrc));
         byte[] result = new byte[byteChips.size()];
-        int i = 0;
+        int index = 0;
         for (String chip : byteChips) {
-            result[i] = (byte) Short.parseShort(chip, 16);
-            i++;
+            result[index] = (byte) Short.parseShort(chip, 16);
+            index++;
         }
         return result;
     }