Skip to content

Commit

Permalink
Add findDuplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
hemanth0525 committed Sep 2, 2024
1 parent 053d2dd commit 0e70f14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public static <E> List<E> fixedSizeList(final List<E> list) {
* @since 4.5.0-M3
*/
public static <E> List<E> findDuplicates(final List<E> list) {
return CollectionUtils.duplicateList(list);
return IterableUtils.duplicateList(list);
}

/**
Expand Down

0 comments on commit 0e70f14

Please sign in to comment.