commit | 2bb988bf7228afd81cf3fea53ee7333fad3b0050 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Tue Jan 20 13:45:35 2015 -0800 |
committer | Ray Milkey <ray@onlab.us> | Wed Jan 21 17:56:24 2015 +0000 |
tree | a76994fecd0ad1db58e1d4c8dcb5d1eeda20afac | |
parent | abeb7fa4a1ce8055b908125eba2dc2d677ffd511 [diff] [blame] |
Return immediately when the given BatchWrite is empty This revision aims to remove empty check of BatchWrite in the caller side of this method Change-Id: Ic0d659a6da221a052ad135eba18a783caa81ec42
diff --git a/core/api/src/main/java/org/onosproject/net/intent/IntentStore.java b/core/api/src/main/java/org/onosproject/net/intent/IntentStore.java index 452cd97..cb71266 100644 --- a/core/api/src/main/java/org/onosproject/net/intent/IntentStore.java +++ b/core/api/src/main/java/org/onosproject/net/intent/IntentStore.java
@@ -112,6 +112,7 @@ /** * Execute writes in a batch. + * If the specified BatchWrite is empty, write will not be executed. * * @param batch BatchWrite to execute * @return failed operations