commit | 351e2f63ef479c26e58fbca5f72546dd97dc8c56 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Wed Dec 03 14:20:06 2014 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Dec 04 00:57:26 2014 +0000 |
tree | 184b9bb8bf2624325af8ade5368552a7fa6e80b2 | |
parent | 64ae11c73fcc0c3559348ce59043b44387ec7bdc [diff] |
Add ToDo comment Change-Id: I4fc91ab84122629054c06a1dd4ec89b3cc0045b5
diff --git a/core/api/src/main/java/org/onosproject/net/intent/IntentOperations.java b/core/api/src/main/java/org/onosproject/net/intent/IntentOperations.java index a9b3d44..176ac85 100644 --- a/core/api/src/main/java/org/onosproject/net/intent/IntentOperations.java +++ b/core/api/src/main/java/org/onosproject/net/intent/IntentOperations.java
@@ -44,6 +44,8 @@ private IntentOperations(List<IntentOperation> operations, ApplicationId appId) { checkNotNull(operations); checkNotNull(appId); + // TODO: consider check whether operations are not empty because empty batch is meaningless + // but it affects the existing code to add this checking this.operations = operations; this.appId = appId;