Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let Filter extend Predicate<Context>, Mapper extend Function<Context, E>, Content extend Function<Context, String>, Each extend Consumer<Context> #173

Open
lukaseder opened this issue Mar 7, 2021 · 0 comments

Comments

@lukaseder
Copy link
Member

lukaseder commented Mar 7, 2021

Our Filter type is just a JDK Predicate, which was offered with Java 6 support in mind. Now that Java 6 support is being dropped, we can let Filter extend Predicate, and replace all references to Filter by Predicate<? super Context> throughout the API.

@lukaseder lukaseder added this to the Version 1.7.0 milestone Mar 7, 2021
@lukaseder lukaseder changed the title Let Filter extend Predicate<Context> Let Filter extend Predicate<Context> and Mapper extend Function<Context, E> Mar 7, 2021
@lukaseder lukaseder changed the title Let Filter extend Predicate<Context> and Mapper extend Function<Context, E> Let Filter extend Predicate<Context>, Mapper extend Function<Context, E>, Each extend Consumer<Context> Mar 7, 2021
@lukaseder lukaseder changed the title Let Filter extend Predicate<Context>, Mapper extend Function<Context, E>, Each extend Consumer<Context> Let Filter extend Predicate<Context>, Mapper extend Function<Context, E>, Content extend Function<Context, String> Each extend Consumer<Context> Mar 7, 2021
@lukaseder lukaseder changed the title Let Filter extend Predicate<Context>, Mapper extend Function<Context, E>, Content extend Function<Context, String> Each extend Consumer<Context> Let Filter extend Predicate<Context>, Mapper extend Function<Context, E>, Content extend Function<Context, String>, Each extend Consumer<Context> Mar 7, 2021
@lukaseder lukaseder modified the milestones: Version 2.0.0, Version 2.1.0 Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant