diff --git a/src/main/java/org/apache/commons/collections/ListUtils.java b/src/main/java/org/apache/commons/collections/ListUtils.java index 170f6a8af..5735bcd2d 100644 --- a/src/main/java/org/apache/commons/collections/ListUtils.java +++ b/src/main/java/org/apache/commons/collections/ListUtils.java @@ -526,6 +526,7 @@ public class ListUtils { * @param size the desired size of each sublist (the last may be smaller) * @return a list of consecutive sublists * @throws IllegalArgumentException if list is {@code null} or size is not strictly positive + * @since 4.0 */ public static List> partition(final List list, final int size) { if (list == null) { @@ -539,6 +540,7 @@ public class ListUtils { /** * Provides a partition view on a {@link List}. + * @since 4.0 */ private static class Partition extends AbstractList> { private final List list;