Misc improvements. Primarily Javadoc.
Change-Id: I083bbf559d53fa25f79d4e1e53eb15c6b96290f2
diff --git a/core/api/src/main/java/org/onosproject/store/service/MapEvent.java b/core/api/src/main/java/org/onosproject/store/service/MapEvent.java
index bb45572..6e67135 100644
--- a/core/api/src/main/java/org/onosproject/store/service/MapEvent.java
+++ b/core/api/src/main/java/org/onosproject/store/service/MapEvent.java
@@ -56,9 +56,9 @@
* Creates a new event object.
*
* @param name map name
- * @param type the type of the event
- * @param key the key the event concerns
- * @param value the value related to the key, or null for remove events
+ * @param type type of event
+ * @param key key the event concerns
+ * @param value value key is mapped to
*/
public MapEvent(String name, Type type, K key, Versioned<V> value) {
this.name = name;
@@ -79,7 +79,7 @@
/**
* Returns the type of the event.
*
- * @return the type of the event
+ * @return the type of event
*/
public Type type() {
return type;
@@ -120,7 +120,7 @@
@Override
public int hashCode() {
- return Objects.hash(type, key, value);
+ return Objects.hash(name, type, key, value);
}
@Override