This is an automated email from the ASF dual-hosted git repository. garydgregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-collections.git
commit 3003464aefe7f1a81a106d7d19092160703b84e8 Author: Gary Gregory <[email protected]> AuthorDate: Sat Aug 1 07:49:22 2026 -0400 Javadoc --- .../commons/collections4/collection/PredicatedCollection.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java b/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java index 354d1e06b..14e564d34 100644 --- a/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java +++ b/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java @@ -70,8 +70,10 @@ public class PredicatedCollection<E> extends AbstractCollectionDecorator<E> { * Create a Builder with a predicate to validate elements against, then add any elements * to the builder. Elements that fail the predicate will be added to a rejected list. * Finally, create or decorate a collection using the createPredicated[List,Set,Bag,Queue] methods. + * </p> * <p> - * An example: + * For example: + * </p> * <pre> * Predicate<String> predicate = NotNullPredicate.notNullPredicate(); * PredicatedCollectionBuilder<String> builder = PredicatedCollection.builder(predicate); @@ -83,9 +85,11 @@ public class PredicatedCollection<E> extends AbstractCollectionDecorator<E> { * <p> * At the end of the code fragment above predicatedList is protected by the predicate supplied * to the builder, and it contains item1 and item2. + * </p> * <p> * More elements can be added to the builder once a predicated collection has been created, * but these elements will not be reflected in already created collections. + * </p> * * @param <E> the element type. * @since 4.1
