package org.onap.policy.controlloop.policy.guard.builder.impl;
import java.util.LinkedList;
-
import org.onap.policy.controlloop.compiler.CompilerException;
import org.onap.policy.controlloop.compiler.ControlLoopCompilerCallback;
import org.onap.policy.controlloop.guard.compiler.ControlLoopGuardCompiler;
if (constraints == null) {
throw new BuilderException("Constraint much not be null");
}
- if (!addLimitConstraints(id,constraints)) {
+ if (!addLimitConstraints(id, constraints)) {
throw new BuilderException(NO_EXISTING_GUARD_POLICY_MATCHING_THE_ID + id);
}
return this;