Skip to content

Conversation

@aiborodin
Copy link
Contributor

@aiborodin aiborodin commented Nov 21, 2025

Simplify the return type to a primitive boolean by removing the Function interface.
Change the interface name to validate() instead of apply().

Remove the unnecessary extension of the Function interface and simplify
to return a primitive boolean. Use the meaningful interface name.

Change-Id: I430616b433c272abc7869dc62d92ead26de50fee
@aiborodin
Copy link
Contributor Author

@danielcweeks @rdblue Could you please take a look?

@danielcweeks danielcweeks self-requested a review December 1, 2025 19:28
Copy link
Contributor

@danielcweeks danielcweeks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks @aiborodin! We haven't done a release, so I think this is ok to change for revapi, but need to check whether it was ported to the 1.10.x branch for the patch release.

@danielcweeks danielcweeks merged commit 29a144a into apache:main Dec 2, 2025
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants