commit | ec07ffd40383049867d05c6f410c9d820f090d5e | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Mon Feb 22 20:45:21 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Mar 24 22:54:08 2016 +0000 |
tree | a32c5d4958132e693637eb182d30a1468a160549 | |
parent | 990688b8933b63b618b6cd6d3340e9b3d68cde02 [diff] [blame] |
Remove dependency on LinkResourceAllocaations from IntentCompiler This change breaks backward compatibility of IntentCompier API Change-Id: I471d0e28d97c2379f66d980d3176f89022c3a470
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/CompilerRegistry.java b/core/net/src/main/java/org/onosproject/net/intent/impl/CompilerRegistry.java index 1b70bc6..a2a125b 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/CompilerRegistry.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/CompilerRegistry.java
@@ -79,7 +79,7 @@ registerSubclassCompilerIfNeeded(intent); // FIXME: get previous resources List<Intent> installable = new ArrayList<>(); - for (Intent compiled : getCompiler(intent).compile(intent, previousInstallables, null)) { + for (Intent compiled : getCompiler(intent).compile(intent, previousInstallables)) { installable.addAll(compile(compiled, previousInstallables)); } return installable;