From d1270edd9213cef83f22c5248197864409da9a28 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Thu, 4 Jun 2015 20:38:03 +0000 Subject: [PATCH] Formatting. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683632 13f79535-47bb-0310-9956-ffa450edef68 --- .../iterators/CollatingIterator.java | 25 +++++++------------ 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/iterators/CollatingIterator.java b/src/main/java/org/apache/commons/collections4/iterators/CollatingIterator.java index 1c6cb9fee..e699d60e8 100644 --- a/src/main/java/org/apache/commons/collections4/iterators/CollatingIterator.java +++ b/src/main/java/org/apache/commons/collections4/iterators/CollatingIterator.java @@ -77,8 +77,7 @@ public class CollatingIterator implements Iterator { * manually added using the {@link #addIterator(Iterator)} method. * * @param comp the comparator to use to sort; must not be null, - * unless you'll be invoking {@link #setComparator(Comparator)} - * later on. + * unless you'll be invoking {@link #setComparator(Comparator)} later on. */ public CollatingIterator(final Comparator comp) { this(comp, 2); @@ -91,10 +90,9 @@ public class CollatingIterator implements Iterator { * {@link #addIterator(Iterator)} method. * * @param comp the comparator to use to sort; must not be null, - * unless you'll be invoking {@link #setComparator(Comparator)} - * later on. + * unless you'll be invoking {@link #setComparator(Comparator)} later on. * @param initIterCapacity the initial capacity for the internal list of - * child iterators + * child iterators */ public CollatingIterator(final Comparator comp, final int initIterCapacity) { iterators = new ArrayList>(initIterCapacity); @@ -107,8 +105,7 @@ public class CollatingIterator implements Iterator { * iterators. * * @param comp the comparator to use to sort; must not be null, - * unless you'll be invoking {@link #setComparator(Comparator)} - * later on. + * unless you'll be invoking {@link #setComparator(Comparator)} later on. * @param a the first child ordered iterator * @param b the second child ordered iterator * @throws NullPointerException if either iterator is null @@ -126,8 +123,7 @@ public class CollatingIterator implements Iterator { * iterators. * * @param comp the comparator to use to sort; must not be null, - * unless you'll be invoking {@link #setComparator(Comparator)} - * later on. + * unless you'll be invoking {@link #setComparator(Comparator)} later on. * @param iterators the array of iterators * @throws NullPointerException if iterators array is or contains null */ @@ -144,13 +140,11 @@ public class CollatingIterator implements Iterator { * iterators. * * @param comp the comparator to use to sort; must not be null, - * unless you'll be invoking {@link #setComparator(Comparator)} - * later on. + * unless you'll be invoking {@link #setComparator(Comparator)} later on. * @param iterators the collection of iterators - * @throws NullPointerException if the iterators collection is or contains - * null + * @throws NullPointerException if the iterators collection is or contains null * @throws ClassCastException if the iterators collection contains an - * element that's not an {@link Iterator} + * element that's not an {@link Iterator} */ public CollatingIterator(final Comparator comp, final Collection> iterators) { this(comp, iterators.size()); @@ -259,8 +253,7 @@ public class CollatingIterator implements Iterator { } /** - * Removes the last returned element from the child iterator that produced - * it. + * Removes the last returned element from the child iterator that produced it. * * @throws IllegalStateException if there is no last returned element, or if * the last returned element has already been removed