Skip to content

Commit 62bd67c

Browse files
author
sewen
committed
Plans do not reuse provided collections.
1 parent 51b4a24 commit 62bd67c

File tree

1 file changed

+1
-1
lines changed
  • pact/pact-common/src/main/java/eu/stratosphere/pact/common/plan

1 file changed

+1
-1
lines changed

pact/pact-common/src/main/java/eu/stratosphere/pact/common/plan/Plan.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class Plan implements Visitable<Contract>
7171
*/
7272
public Plan(Collection<GenericDataSink> sinks, String jobName)
7373
{
74-
this.sinks = sinks;
74+
this.sinks = new ArrayList<GenericDataSink>(sinks);
7575
this.jobName = jobName;
7676
this.planConfiguration = new PlanConfiguration();
7777
}

0 commit comments

Comments
 (0)