Skip to content

Commit

Permalink
OAK-11458 : fixed sonarcloud alerts by calling apache commons-collect…
Browse files Browse the repository at this point in the history
…ions method directly from each API
  • Loading branch information
Rishabh Kumar committed Feb 11, 2025
1 parent 365376d commit 16134e5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private IterableUtils() {
*/
public static <E> Iterable<E> chainedIterable(final Iterable<? extends E> a,
final Iterable<? extends E> b) {
return chainedIterable(new Iterable[] {a, b});
return org.apache.commons.collections4.IterableUtils.chainedIterable(a, b);
}

/**
Expand All @@ -72,7 +72,7 @@ public static <E> Iterable<E> chainedIterable(final Iterable<? extends E> a,
public static <E> Iterable<E> chainedIterable(final Iterable<? extends E> a,
final Iterable<? extends E> b,
final Iterable<? extends E> c) {
return chainedIterable(new Iterable[] {a, b, c});
return org.apache.commons.collections4.IterableUtils.chainedIterable(a, b, c);
}

/**
Expand All @@ -97,7 +97,7 @@ 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});
return org.apache.commons.collections4.IterableUtils.chainedIterable(a, b, c, d);
}

/**
Expand Down

0 comments on commit 16134e5

Please sign in to comment.