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

Reduce the public API #51

Open
carlosame opened this issue Jul 23, 2022 · 0 comments
Open

Reduce the public API #51

carlosame opened this issue Jul 23, 2022 · 0 comments

Comments

@carlosame
Copy link
Member

This project has a number of public and protected fields and methods that aren't really expected to be used by downstream software. This was very common in old Java code, but nowadays the tendency is to reduce the public supported API to a minimum.

  • Some public and protected methods are going to be deprecated for removal (where 'removal' means becoming package-visible), while others that are highly unlikely to be used by anyone else will have its visibility directly reduced.

  • public and protected fields are going to be removed. If you use any, you should switch to the relevant getter or setter method.

This reduction of the public API is a pre-requisite for other issues like #39.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant