Enforce pcep-spi checkstyle
[bgpcep.git] / pcep / base-parser / src / main / java / org / opendaylight / protocol / pcep / parser / subobject / EROPathKey128SubobjectParser.java
index 0a3978812ad189c37818d6955eb5a0d3ceb8a858..db11074f7db785576e268a4780d4681bda7006a2 100644 (file)
@@ -20,9 +20,9 @@ public final class EROPathKey128SubobjectParser extends AbstractEROPathKeySubobj
     }
 
     @Override
-    protected void checkContentLenght(final int lenght) throws PCEPDeserializerException {
-        if (lenght != CONTENT128_LENGTH) {
-            throw new PCEPDeserializerException("Wrong length of array of bytes. Passed: " + lenght + "; Expected: >"
+    protected void checkContentLength(final int length) throws PCEPDeserializerException {
+        if (length != CONTENT128_LENGTH) {
+            throw new PCEPDeserializerException("Wrong length of array of bytes. Passed: " + length + "; Expected: >"
                 + CONTENT128_LENGTH + ".");
         }
     }