Migrate boolean getters
[bgpcep.git] / pcep / base-parser / src / main / java / org / opendaylight / protocol / pcep / parser / subobject / RROIpv6PrefixSubobjectParser.java
index d82c3fce73f1540ce22c86d46d0d02f7b02a4b42..e8e5d3b16a231d45b470e48067f3bafddc9a990e 100644 (file)
@@ -75,8 +75,8 @@ public class RROIpv6PrefixSubobjectParser implements RROSubobjectParser, RROSubo
 
     static void serializeSubobject(final ByteBuf buffer, final Subobject subobject, final Ipv6Prefix ipv6prefix) {
         final BitArray flags = new BitArray(FLAGS_SIZE);
-        flags.set(LPA_F_OFFSET, subobject.isProtectionAvailable());
-        flags.set(LPIU_F_OFFSET, subobject.isProtectionInUse());
+        flags.set(LPA_F_OFFSET, subobject.getProtectionAvailable());
+        flags.set(LPIU_F_OFFSET, subobject.getProtectionInUse());
         final ByteBuf body = Unpooled.buffer(CONTENT_LENGTH);
         Ipv6Util.writeIpv6Prefix(ipv6prefix, body);
         flags.toByteBuf(body);