Fixing a bug in DefaultNextObjective copy constructor.
Change-Id: Ifa5383a88795c15cc41fd8416bf27593066e146c
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -178,6 +178,7 @@ public final class DefaultNextObjective implements NextObjective { | ... | @@ -178,6 +178,7 @@ public final class DefaultNextObjective implements NextObjective { |
178 | this.type = objective.type(); | 178 | this.type = objective.type(); |
179 | this.id = objective.id(); | 179 | this.id = objective.id(); |
180 | this.treatments = ImmutableList.copyOf(objective.next()); | 180 | this.treatments = ImmutableList.copyOf(objective.next()); |
181 | + this.listBuilder.addAll(objective.next()); | ||
181 | this.meta = objective.meta(); | 182 | this.meta = objective.meta(); |
182 | this.appId = objective.appId(); | 183 | this.appId = objective.appId(); |
183 | this.op = objective.op(); | 184 | this.op = objective.op(); | ... | ... |
-
Please register or login to post a comment