Remove redundant modifier 88/30188/2
authorIveta Halanova <ihalanov@cisco.com>
Wed, 25 Nov 2015 10:50:55 +0000 (11:50 +0100)
committerMilos Fabian <milfabia@cisco.com>
Wed, 25 Nov 2015 14:52:19 +0000 (14:52 +0000)
Change-Id: Ibfc7b03b4e73fd4d329af0b690967ce38772a2c9
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/subobject/EROPathKey128SubobjectParser.java
pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/subobject/EROPathKey32SubobjectParser.java

index 8a83dd5ec6788bb79780fb52fbbd793396ac84aa..00a40be545212fb3e06464b68dc3e1af0b6fc302 100644 (file)
@@ -15,12 +15,12 @@ import org.opendaylight.protocol.util.ByteArray;
 public final class EROPathKey128SubobjectParser extends AbstractEROPathKeySubobjectParser {
 
     @Override
-    protected final byte[] readPceId(final ByteBuf buffer) {
+    protected byte[] readPceId(final ByteBuf buffer) {
         return ByteArray.readBytes(buffer, PCE128_ID_F_LENGTH);
     }
 
     @Override
-    protected final void checkContentLenght(final int lenght) throws PCEPDeserializerException {
+    protected void checkContentLenght(final int lenght) throws PCEPDeserializerException {
         if (lenght != CONTENT128_LENGTH) {
             throw new PCEPDeserializerException("Wrong length of array of bytes. Passed: " + lenght + "; Expected: >"
                 + CONTENT128_LENGTH + ".");
index 4e75993be0c5493eda6646c3ef117f3969e14491..4a1550e6a89ebe5e25fb51299ef3f9e17615fa45 100644 (file)
@@ -15,12 +15,12 @@ import org.opendaylight.protocol.util.ByteArray;
 public final class EROPathKey32SubobjectParser extends AbstractEROPathKeySubobjectParser {
 
     @Override
-    protected final byte[] readPceId(final ByteBuf buffer) {
+    protected byte[] readPceId(final ByteBuf buffer) {
         return ByteArray.readBytes(buffer, PCE_ID_F_LENGTH);
     }
 
     @Override
-    protected final void checkContentLenght(final int lenght) throws PCEPDeserializerException {
+    protected void checkContentLenght(final int lenght) throws PCEPDeserializerException {
         if (lenght != CONTENT_LENGTH) {
             throw new PCEPDeserializerException("Wrong length of array of bytes. Passed: " + lenght + "; Expected: >"
                 + CONTENT_LENGTH + ".");