commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chtom...@apache.org
Subject [02/50] [abbrv] commons-collections git commit: Fix javadoc for IterableUtils: remove() is normally supported.
Date Tue, 11 Jul 2017 17:21:52 GMT
Fix javadoc for IterableUtils: remove() is normally supported.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1716538 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-collections/commit/a7cbb449
Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/a7cbb449
Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/a7cbb449

Branch: refs/heads/master
Commit: a7cbb44991c12265c5219c6308c18b37fa2a6692
Parents: 3e7cefa
Author: Thomas Neidhart <tn@apache.org>
Authored: Wed Nov 25 20:27:49 2015 +0000
Committer: Thomas Neidhart <tn@apache.org>
Committed: Wed Nov 25 20:27:49 2015 +0000

----------------------------------------------------------------------
 .../org/apache/commons/collections4/IterableUtils.java   | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-collections/blob/a7cbb449/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 6e10010..845332e 100644
--- a/src/main/java/org/apache/commons/collections4/IterableUtils.java
+++ b/src/main/java/org/apache/commons/collections4/IterableUtils.java
@@ -217,8 +217,8 @@ public class IterableUtils {
      * provided comparator. If the comparator is null, natural ordering will be
      * used.
      * <p>
-     * The returned iterable's iterator supports {@code remove()} when the corresponding
-     * input iterator supports it.
+     * The returned iterable's iterator supports {@code remove()} when the
+     * corresponding input iterator supports it.
      *
      * @param <E> the element type
      * @param comparator  the comparator defining an ordering over the elements,
@@ -247,7 +247,8 @@ public class IterableUtils {
      * Returns a view of the given iterable that only contains elements matching
      * the provided predicate.
      * <p>
-     * The returned iterable's iterator does not support {@code remove()}.
+     * The returned iterable's iterator supports {@code remove()} when the
+     * corresponding input iterator supports it.
      *
      * @param <E> the element type
      * @param iterable  the iterable to filter, may not be null
@@ -436,7 +437,9 @@ public class IterableUtils {
     /**
      * Returns a unique view of the given iterable.
      * <p>
-     * The returned iterable's iterator does not support {@code remove()}.
+     * The returned iterable's iterator supports {@code remove()} when the
+     * corresponding input iterator supports it. Calling {@code remove()}
+     * will only remove a single element from the underlying iterator.
      *
      * @param <E> the element type
      * @param iterable  the iterable to use, may not be null


Mime
View raw message