diff --git a/src/main/java/org/apache/commons/collections4/Get.java b/src/main/java/org/apache/commons/collections4/Get.java index cc09ef4d5..61663a9c4 100644 --- a/src/main/java/org/apache/commons/collections4/Get.java +++ b/src/main/java/org/apache/commons/collections4/Get.java @@ -32,7 +32,7 @@ public interface Get { /** * @param key key whose presence in this map is to be tested - * @return true if this map contains a mapping for the specified + * @return true if this map contains a mapping for the specified * key * @see java.util.Map#containsKey(Object) */ @@ -40,7 +40,7 @@ public interface Get { /** * @param value value whose presence in this map is to be tested - * @return true if this map maps one or more keys to the + * @return true if this map maps one or more keys to the * specified value * @see java.util.Map#containsValue(Object) */ @@ -62,14 +62,14 @@ public interface Get { /** * @param key key whose mapping is to be removed from the map - * @return the previous value associated with key, or - * null if there was no mapping for key. + * @return the previous value associated with key, or + * null if there was no mapping for key. * @see java.util.Map#remove(Object) */ V remove(Object key); /** - * @return true if this map contains no key-value mappings + * @return true if this map contains no key-value mappings * @see java.util.Map#isEmpty() */ boolean isEmpty(); diff --git a/src/main/java/org/apache/commons/collections4/MultiSet.java b/src/main/java/org/apache/commons/collections4/MultiSet.java index 982768f0e..835eb6305 100644 --- a/src/main/java/org/apache/commons/collections4/MultiSet.java +++ b/src/main/java/org/apache/commons/collections4/MultiSet.java @@ -240,7 +240,7 @@ public interface MultiSet extends Collection { * and the two entries represent the same element with the same * number of occurrences. *

- * More formally, two entries e1 and e2 represent + * More formally, two entries e1 and e2 represent * the same mapping if *

          *     (e1.getElement()==null ? e2.getElement()==null
@@ -257,7 +257,7 @@ public interface MultiSet extends Collection {
         /**
          * Returns the hash code value for this multiset entry.
          * 

- * The hash code of a multiset entry e is defined to be: + * The hash code of a multiset entry e is defined to be: *

          *      (e==null ? 0 : e.hashCode()) ^ noOccurances)
          * 
diff --git a/src/main/java/org/apache/commons/collections4/Put.java b/src/main/java/org/apache/commons/collections4/Put.java index 8d86832a0..ed0ec1788 100644 --- a/src/main/java/org/apache/commons/collections4/Put.java +++ b/src/main/java/org/apache/commons/collections4/Put.java @@ -46,11 +46,11 @@ public interface Put { * * @param key key with which the specified value is to be associated * @param value value to be associated with the specified key - * @return the previous value associated with key, or - * null if there was no mapping for key. - * (A null return can also indicate that the map - * previously associated null with key, - * if the implementation supports null values.) + * @return the previous value associated with key, or + * null
if there was no mapping for key. + * (A null return can also indicate that the map + * previously associated null with key, + * if the implementation supports null values.) * @see Map#put(Object, Object) */ Object put(K key, V value);