Bug 7725: AAP with prefix 0.0.0.0/0 not supported in ACL
[netvirt.git] / vpnservice / aclservice / impl / src / main / java / org / opendaylight / netvirt / aclservice / utils / AclDataUtil.java
index 6d71a13d31ae77a0600e67ddc22bb5b45723089a..049b5c84b554e9b2e05843801330682d9dff9f10 100644 (file)
@@ -112,10 +112,12 @@ public class AclDataUtil {
     /**
      * Removes the acl flow priority from the cache.
      *
-     * @param aclName the acl name
+     * @param key the key
+     * @return the previous value associated with key, or null if there was no
+     *         mapping for key.
      */
-    public void removeAclFlowPriority(final String aclName) {
-        this.aclFlowPriorityMap.remove(aclName);
+    public Integer removeAclFlowPriority(final String key) {
+        return this.aclFlowPriorityMap.remove(key);
     }
 
     /**