Bump MDSAL to 4.0.0
[bgpcep.git] / pcep / ietf-stateful07 / src / main / java / org / opendaylight / protocol / pcep / ietf / stateful07 / Stateful07RSVPErrorSpecTlvParser.java
index e4ab1187b473526ecf883ee8f673e4bce835ccf5..f870009506afd6031223afeb5830a589a304c1a0 100644 (file)
@@ -84,7 +84,7 @@ public final class Stateful07RSVPErrorSpecTlvParser implements TlvParser, TlvSer
         Preconditions.checkArgument(tlv instanceof RsvpErrorSpec, "RSVPErrorSpecTlv is mandatory.");
         final RsvpErrorSpec rsvp = (RsvpErrorSpec) tlv;
         final ByteBuf body = Unpooled.buffer();
-        if (rsvp.getErrorType().getImplementedInterface().equals(RsvpCase.class)) {
+        if (rsvp.getErrorType().implementedInterface().equals(RsvpCase.class)) {
             final RsvpCase r = (RsvpCase) rsvp.getErrorType();
             serializeRsvp(r.getRsvpError(), body);
             TlvUtil.formatTlv(TYPE, body, buffer);