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

Dissallow extending or implementing an unapproved types #15

Open
keith-turner opened this issue Apr 10, 2015 · 1 comment
Open

Dissallow extending or implementing an unapproved types #15

keith-turner opened this issue Apr 10, 2015 · 1 comment

Comments

@keith-turner
Copy link
Member

The current code is ok extending an unapproved type as long as the members coming from the type are ok. While trying to deal with an Accumulo public API type that extends a non Accumulo public API type I realized that this should be prevented. Its awful.

@keith-turner
Copy link
Member Author

Maybe its ok to extend classes that are not visible for sharing code (like extending a package private class). However extending visible unapproved types in the API seems problematic.

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