Migrate boolean getters
[bgpcep.git] / pcep / spi / src / main / java / org / opendaylight / protocol / pcep / spi / pojo / SimpleVendorInformationObjectRegistry.java
index 081f53915f070d76d8c1eb055ee4274189c633ba..9597d0f757624ba3aac2f13fa2e1c0d601c14ae6 100644 (file)
@@ -44,7 +44,7 @@ public class SimpleVendorInformationObjectRegistry implements VendorInformationO
             throws PCEPDeserializerException {
         final ObjectParser parser = this.handlers.getParser(enterpriseNumber.getValue().intValue());
         if (parser == null) {
-            if (!header.isProcessingRule()) {
+            if (!header.getProcessingRule()) {
                 return Optional.empty();
             }
             return Optional.of(new UnknownObject(PCEPErrors.UNRECOGNIZED_OBJ_CLASS));