Repository: commons-collections Updated Branches: refs/heads/master 3ec21db26 -> 11eca16f4
The the patrol. Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-collections/commit/11eca16f Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/11eca16f Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/11eca16f Branch: refs/heads/master Commit: 11eca16f4a8b2e22c7271cae1fe9f23608bfb98e Parents: 3ec21db Author: Gary Gregory <garydgreg...@gmail.com> Authored: Sat Jun 16 15:44:05 2018 -0600 Committer: Gary Gregory <garydgreg...@gmail.com> Committed: Sat Jun 16 15:44:05 2018 -0600 ---------------------------------------------------------------------- .../commons/collections4/CollectionUtils.java | 2 +- .../commons/collections4/IterableUtils.java | 2 +- .../apache/commons/collections4/MapUtils.java | 36 ++++++++++---------- .../iterators/ListIteratorWrapper.java | 2 +- .../collection/AbstractCollectionTest.java | 2 +- 5 files changed, 22 insertions(+), 22 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-collections/blob/11eca16f/src/main/java/org/apache/commons/collections4/CollectionUtils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/CollectionUtils.java b/src/main/java/org/apache/commons/collections4/CollectionUtils.java index f498603..17f6577 100644 --- a/src/main/java/org/apache/commons/collections4/CollectionUtils.java +++ b/src/main/java/org/apache/commons/collections4/CollectionUtils.java @@ -638,7 +638,7 @@ public class CollectionUtils { * @param obj the object to find the cardinality of * @param coll the {@link Iterable} to search * @param <O> the type of object that the {@link Iterable} may contain. - * @return the the number of occurrences of obj in coll + * @return the number of occurrences of obj in coll * @throws NullPointerException if coll is null * @deprecated since 4.1, use {@link IterableUtils#frequency(Iterable, Object)} instead. * Be aware that the order of parameters has changed. http://git-wip-us.apache.org/repos/asf/commons-collections/blob/11eca16f/src/main/java/org/apache/commons/collections4/IterableUtils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/IterableUtils.java b/src/main/java/org/apache/commons/collections4/IterableUtils.java index 05613c5..ac71740 100644 --- a/src/main/java/org/apache/commons/collections4/IterableUtils.java +++ b/src/main/java/org/apache/commons/collections4/IterableUtils.java @@ -742,7 +742,7 @@ public class IterableUtils { * @param <T> the element type of the object to find * @param iterable the {@link Iterable} to search * @param obj the object to find the cardinality of - * @return the the number of occurrences of obj in iterable + * @return the number of occurrences of obj in iterable */ public static <E, T extends E> int frequency(final Iterable<E> iterable, final T obj) { if (iterable instanceof Set<?>) { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/11eca16f/src/main/java/org/apache/commons/collections4/MapUtils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/MapUtils.java b/src/main/java/org/apache/commons/collections4/MapUtils.java index 30a084e..a27db8c 100644 --- a/src/main/java/org/apache/commons/collections4/MapUtils.java +++ b/src/main/java/org/apache/commons/collections4/MapUtils.java @@ -375,7 +375,7 @@ public class MapUtils { /** * Looks up the given key in the given map, converting the result into - * a string, using the default value if the the conversion fails. + * a string, using the default value if the conversion fails. * * @param <K> the key type * @param map the map whose value to look up @@ -395,7 +395,7 @@ public class MapUtils { /** * Looks up the given key in the given map, converting the result into - * a boolean, using the default value if the the conversion fails. + * a boolean, using the default value if the conversion fails. * * @param <K> the key type * @param map the map whose value to look up @@ -415,7 +415,7 @@ public class MapUtils { /** * Looks up the given key in the given map, converting the result into - * a number, using the default value if the the conversion fails. + * a number, using the default value if the conversion fails. * * @param <K> the key type * @param map the map whose value to look up @@ -435,7 +435,7 @@ public class MapUtils { /** * Looks up the given key in the given map, converting the result into - * a byte, using the default value if the the conversion fails. + * a byte, using the default value if the conversion fails. * * @param <K> the key type * @param map the map whose value to look up @@ -455,7 +455,7 @@ public class MapUtils { /** * Looks up the given key in the given map, converting the result into - * a short, using the default value if the the conversion fails. + * a short, using the default value if the conversion fails. * * @param <K> the key type * @param map the map whose value to look up @@ -475,7 +475,7 @@ public class MapUtils { /** * Looks up the given key in the given map, converting the result into - * an integer, using the default value if the the conversion fails. + * an integer, using the default value if the conversion fails. * * @param <K> the key type * @param map the map whose value to look up @@ -495,7 +495,7 @@ public class MapUtils { /** * Looks up the given key in the given map, converting the result into - * a long, using the default value if the the conversion fails. + * a long, using the default value if the conversion fails. * * @param <K> the key type * @param map the map whose value to look up @@ -515,7 +515,7 @@ public class MapUtils { /** * Looks up the given key in the given map, converting the result into - * a float, using the default value if the the conversion fails. + * a float, using the default value if the conversion fails. * * @param <K> the key type * @param map the map whose value to look up @@ -535,7 +535,7 @@ public class MapUtils { /** * Looks up the given key in the given map, converting the result into - * a double, using the default value if the the conversion fails. + * a double, using the default value if the conversion fails. * * @param <K> the key type * @param map the map whose value to look up @@ -555,7 +555,7 @@ public class MapUtils { /** * Looks up the given key in the given map, converting the result into - * a map, using the default value if the the conversion fails. + * a map, using the default value if the conversion fails. * * @param <K> the key type * @param map the map whose value to look up @@ -706,7 +706,7 @@ public class MapUtils { //------------------------------------------------------------------------- /** * Gets a boolean from a Map in a null-safe manner, - * using the default value if the the conversion fails. + * using the default value if the conversion fails. * <p> * If the value is a <code>Boolean</code> its value is returned. * If the value is a <code>String</code> and it equals 'true' ignoring case @@ -731,7 +731,7 @@ public class MapUtils { /** * Gets a byte from a Map in a null-safe manner, - * using the default value if the the conversion fails. + * using the default value if the conversion fails. * <p> * The byte is obtained from the results of {@link #getNumber(Map,Object)}. * @@ -751,7 +751,7 @@ public class MapUtils { /** * Gets a short from a Map in a null-safe manner, - * using the default value if the the conversion fails. + * using the default value if the conversion fails. * <p> * The short is obtained from the results of {@link #getNumber(Map,Object)}. * @@ -771,7 +771,7 @@ public class MapUtils { /** * Gets an int from a Map in a null-safe manner, - * using the default value if the the conversion fails. + * using the default value if the conversion fails. * <p> * The int is obtained from the results of {@link #getNumber(Map,Object)}. * @@ -791,7 +791,7 @@ public class MapUtils { /** * Gets a long from a Map in a null-safe manner, - * using the default value if the the conversion fails. + * using the default value if the conversion fails. * <p> * The long is obtained from the results of {@link #getNumber(Map,Object)}. * @@ -811,7 +811,7 @@ public class MapUtils { /** * Gets a float from a Map in a null-safe manner, - * using the default value if the the conversion fails. + * using the default value if the conversion fails. * <p> * The float is obtained from the results of {@link #getNumber(Map,Object)}. * @@ -831,7 +831,7 @@ public class MapUtils { /** * Gets a double from a Map in a null-safe manner, - * using the default value if the the conversion fails. + * using the default value if the conversion fails. * <p> * The double is obtained from the results of {@link #getNumber(Map,Object)}. * @@ -952,7 +952,7 @@ public class MapUtils { * If the debug flag is true, it additionally prints the type of the object * value. If the contents of a map include the map itself, then the text * <em>(this Map)</em> is printed out. If the contents include a - * parent container of the map, the the text <em>(ancestor[i] Map)</em> is + * parent container of the map, the text <em>(ancestor[i] Map)</em> is * printed, where i actually indicates the number of levels which must be * traversed in the sequential list of ancestors (e.g. father, grandfather, * great-grandfather, etc). http://git-wip-us.apache.org/repos/asf/commons-collections/blob/11eca16f/src/main/java/org/apache/commons/collections4/iterators/ListIteratorWrapper.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/iterators/ListIteratorWrapper.java b/src/main/java/org/apache/commons/collections4/iterators/ListIteratorWrapper.java index 6f844a8..1156c7c 100644 --- a/src/main/java/org/apache/commons/collections4/iterators/ListIteratorWrapper.java +++ b/src/main/java/org/apache/commons/collections4/iterators/ListIteratorWrapper.java @@ -170,7 +170,7 @@ public class ListIteratorWrapper<E> implements ResettableListIterator<E> { } /** - * Returns the the previous element. + * Returns the previous element. * * @return the previous element * @throws NoSuchElementException if there are no previous elements http://git-wip-us.apache.org/repos/asf/commons-collections/blob/11eca16f/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java b/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java index f9b1a18..71e55ad 100644 --- a/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java +++ b/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java @@ -67,7 +67,7 @@ import org.apache.commons.collections4.AbstractObjectTest; * <p> * <b>Fixture Methods</b> * <p> - * Fixtures are used to verify that the the operation results in correct state + * Fixtures are used to verify that the operation results in correct state * for the collection. Basically, the operation is performed against your * collection implementation, and an identical operation is performed against a * <i>confirmed</i> collection implementation. A confirmed collection