Migrate boolean getters
[bgpcep.git] / pcep / base-parser / src / main / java / org / opendaylight / protocol / pcep / parser / subobject / XROSrlgSubobjectParser.java
index 8f65a808a58250103710fbe6e3f7929116789dfc..52eba0323d5faaf319085e0cc4ab9c9fc3e581e1 100644 (file)
@@ -68,6 +68,6 @@ public class XROSrlgSubobjectParser implements XROSubobjectParser, XROSubobjectS
         checkArgument(attribute != null, "Attribute is mandatory.");
         body.writeByte(0);
         body.writeByte(attribute.getIntValue());
-        XROSubobjectUtil.formatSubobject(TYPE, subobject.isMandatory(), body, buffer);
+        XROSubobjectUtil.formatSubobject(TYPE, subobject.getMandatory(), body, buffer);
     }
 }