2929/**
3030 * This class provides several helper methods for the functional interface of
3131 * the <a href=
32- * "https://commons.apache.org/proper/commons-collections">commons-collections </a>.
32+ * "https://commons.apache.org/proper/commons-collections">commons-collections4 </a>.
3333 * <p>
34- * <b>This class is only available if commons-collections is available</b>
34+ * <b>This class is only available if commons-collections4 is available</b>
3535 *
3636 * @since 2.2.0
3737 *
3838 */
3939public final class CommonsCollections4Helper {
40- private CommonsCollections4Helper () {
41- }
4240
4341 private static final Function <Exception , RuntimeException > DEFAULT_EXCEPTION_MAPPER = ExceptionMapper .forExceptions (
4442 ExceptionMapper .forException (ClassCastException .class , e -> e ),
4543 ExceptionMapper .forException (IllegalArgumentException .class , e -> e ),
4644 ExceptionMapper .forException (Exception .class , FunctorException ::new ));
4745
46+ private CommonsCollections4Helper () {
47+ }
48+
4849 /**
4950 * Transforms a {@link PredicateWithException} to the one from
5051 * commons-collections.
@@ -59,7 +60,7 @@ private CommonsCollections4Helper() {
5960 * IllegalArgumentException are not wrapped and the other exception are
6061 * wrapped in a FunctorException.
6162 * @throws NoClassDefFoundError
62- * In case the commons-collections library is not available.
63+ * In case the commons-collections4 library is not available.
6364 * @throws NullPointerException
6465 * if predicate is null.
6566 * @see org.apache.commons.collections4.Predicate
0 commit comments