diff --git a/src/main/java/org/apache/commons/collections4/Put.java b/src/main/java/org/apache/commons/collections4/Put.java index 34e53ed11..0910133dd 100644 --- a/src/main/java/org/apache/commons/collections4/Put.java +++ b/src/main/java/org/apache/commons/collections4/Put.java @@ -40,6 +40,9 @@ public interface Put { public void clear(); /** + * Note that the return type is Object, rather than V as in the Map interface. + * See the class Javadoc for further info. + * * @see Map#put(Object, Object) */ public Object put(K key, V value);