commit | 2f26fb26829fe2b91037da04f3db1061d815a615 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Tue Jan 19 14:04:46 2016 -0800 |
committer | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Mon Feb 01 14:02:32 2016 -0800 |
tree | f5a8d0e84de751f78d7c1ce4b993d4e0b979b578 | |
parent | 1e492d3139e467d878892149e4f6baa9ba10503d [diff] [blame] |
Remove mutating methods in IntentData Change-Id: I1d9ac694922f4a12b2d94a92b64be2c336c31ae3
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/phase/WithdrawRequest.java b/core/net/src/main/java/org/onosproject/net/intent/impl/phase/WithdrawRequest.java index 8a0709e..a2c3dc0 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/phase/WithdrawRequest.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/phase/WithdrawRequest.java
@@ -64,7 +64,6 @@ } } - data.setInstallables(stored.get().installables()); - return Optional.of(new Withdrawing(processor, data)); + return Optional.of(new Withdrawing(processor, new IntentData(data, stored.get().installables()))); } }