Migrate boolean getters
[bgpcep.git] / pcep / base-parser / src / main / java / org / opendaylight / protocol / pcep / parser / subobject / XROPathKey128SubobjectParser.java
index 80829a2a03aa9a6e1e10ea8b32e2a8b2ab14bab2..5d4a792860bb10dbc7fcb1c76b26999491e02512 100644 (file)
@@ -66,6 +66,6 @@ public class XROPathKey128SubobjectParser implements XROSubobjectParser {
         final PceId pceId = pk.getPceId();
         checkArgument(pceId != null, "PceId is mandatory.");
         body.writeBytes(pceId.getValue());
-        XROSubobjectUtil.formatSubobject(TYPE, subobject.isMandatory(), body, buffer);
+        XROSubobjectUtil.formatSubobject(TYPE, subobject.getMandatory(), body, buffer);
     }
 }