Konstantinos Kanonakis
Committed by Gerrit Code Review

Populate listBuilder with existing conditions when creating a FilteringObjective copy.

Change-Id: Ide63c7b5e94c41c2a821b464065b86bb8b89c395
......@@ -201,7 +201,7 @@ public final class DefaultFilteringObjective implements FilteringObjective {
private Builder(FilteringObjective objective) {
this.type = objective.type();
this.key = objective.key();
this.conditions = ImmutableList.copyOf(objective.conditions());
objective.conditions().forEach(this::addCondition);
this.permanent = objective.permanent();
this.timeout = objective.timeout();
this.priority = objective.priority();
......