Migrate boolean getters
[bgpcep.git] / pcep / base-parser / src / main / java / org / opendaylight / protocol / pcep / parser / subobject / XROIpv6PrefixSubobjectParser.java
index 69c09127c4afcaa6855165c37f771b379f643dce..856f72f8f389aacb889d9bae6f58b8e063df1824 100644 (file)
@@ -71,6 +71,6 @@ public class XROIpv6PrefixSubobjectParser implements XROSubobjectParser, XROSubo
         final Attribute attribute = subobject.getAttribute();
         checkArgument(attribute != null, "Attribute is mandatory.");
         body.writeByte(attribute.getIntValue());
-        XROSubobjectUtil.formatSubobject(TYPE, subobject.isMandatory(), body, buffer);
+        XROSubobjectUtil.formatSubobject(TYPE, subobject.getMandatory(), body, buffer);
     }
 }