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

consider wider use of default methods #186

Open
jrtom opened this issue Jan 13, 2018 · 1 comment
Open

consider wider use of default methods #186

jrtom opened this issue Jan 13, 2018 · 1 comment

Comments

@jrtom
Copy link
Owner

jrtom commented Jan 13, 2018

Default methods in Java 8+ interfaces provide some additional support for users that need to implement our interfaces but don't want to (or can't) use our abstract classes.

In some cases, they may allow us to get rid of our abstract classes entirely.

@jbduncan
Copy link
Contributor

Good idea! 👍

A thing we may want to watch out for is if we have any abstract classes with final methods, we may not want to or be able to migrate those to default methods on interfaces, as a user could then override them.

I don't really have anything else to add. :)

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

2 participants