aherbert commented on code in PR #513:
URL:
https://github.com/apache/commons-collections/pull/513#discussion_r1678107283
##########
src/main/java/org/apache/commons/collections4/IterableUtils.java:
##########
@@ -203,11 +203,11 @@ public static <E> Iterable<E> chainedIterable(final
Iterable<? extends E> a,
* @throws NullPointerException if either of the provided iterables is null
*/
@SuppressWarnings("unchecked")
- public static <E> Iterable<E> chainedIterable(final Iterable<? extends E>
a,
- final Iterable<? extends E>
b,
- final Iterable<? extends E>
c,
- final Iterable<? extends E>
d) {
- return chainedIterable(new Iterable[] {a, b, c, d});
+ public static <E> Iterable<E> chainedIterable(final Iterable<? extends E>
e,
+ final Iterable<? extends E>
f,
+ final Iterable<? extends E>
g,
+ final Iterable<? extends E>
h ) {
+ return chainedIterable();
Review Comment:
It is unclear what this PR is for, but this is a bug as the args are now
ignored.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]