Skip to content

Commit

Permalink
[Functional] FunctorUtils.validate(Predicate...) is now
Browse files Browse the repository at this point in the history
FunctorUtils.validate(java.util.function.Predicate...)
  • Loading branch information
garydgregory committed Jul 10, 2024
1 parent 14fa6ca commit af16097
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<action type="fix" dev="ggregory" due-to="Gary Gregory">PatriciaTrie constructor reuse the stateless singleton StringKeyAnalyzer.INSTANCE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate StringKeyAnalyzer.StringKeyAnalyzer() in favor of StringKeyAnalyzer.INSTANCE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">[Functional] FunctorUtils.validate(Closure...) is now FunctorUtils.validate(Consumer...).</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">[Functional] FunctorUtils.validate(Predicate...) is now FunctorUtils.validate(java.util.function.Predicate...).</action>
<!-- ADD -->
<!-- UPDATE -->
<action issue="COLLECTIONS-857" type="update" dev="ggregory" due-to="Claude Warren">Update bloom filter documentation #508.</action>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ static <T> Predicate<? super T>[] validate(final Collection<? extends Predicate<
*
* @param predicates the predicates to validate
*/
static void validate(final Predicate<?>... predicates) {
static void validate(final java.util.function.Predicate<?>... predicates) {
Objects.requireNonNull(predicates, "predicates");
for (int i = 0; i < predicates.length; i++) {
if (predicates[i] == null) {
Expand Down

0 comments on commit af16097

Please sign in to comment.