Migrate boolean getters
[bgpcep.git] / pcep / base-parser / src / main / java / org / opendaylight / protocol / pcep / parser / subobject / XROPathKey32SubobjectParser.java
index 620e1862272cd3e0615172d52169612da7ebf025..d751a9ffdacdfc428aa88dc3d27dcab37a8c658b 100644 (file)
@@ -72,6 +72,6 @@ public class XROPathKey32SubobjectParser implements XROSubobjectParser, XROSubob
         ByteBufUtils.write(body, pathKey.getValue());
         checkArgument(pceId.length == PCE_ID_F_LENGTH, "PceId 32 Bit required.");
         body.writeBytes(pceId);
-        XROSubobjectUtil.formatSubobject(TYPE, subobject.isMandatory(), body, buffer);
+        XROSubobjectUtil.formatSubobject(TYPE, subobject.getMandatory(), body, buffer);
     }
 }