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

Package private getters to become public if there have corresponding public setters #9273

Merged
merged 1 commit into from Jan 13, 2015

Conversation

javanna
Copy link
Member

@javanna javanna commented Jan 13, 2015

Some of our Java API requests have public setters but their corresponding getters are package private only, which doesn't make much sense as anybody can set their values but it is not possible to read those same values.

This PR addresses this by making existing package private getters public when they have a corresponding public setter.

…esponding public setters

Some of our Java API requests have public setters but their corresponding getters are package private only. This commit makes those getters public as well.

Closes elastic#9273
@javanna javanna force-pushed the enhancement/requests_public_getters branch from dcf1180 to 4bdc89f Compare January 13, 2015 14:22
@dakrone
Copy link
Member

dakrone commented Jan 13, 2015

LGTM

javanna added a commit to javanna/elasticsearch that referenced this pull request Jan 13, 2015
…esponding public setters

Some of our Java API requests have public setters but their corresponding getters are package private only. This commit makes those getters public as well.

Closes elastic#9273
@javanna javanna merged commit 4bdc89f into elastic:master Jan 13, 2015
@clintongormley clintongormley added :Core/Infra/Transport API Transport client API and removed review labels Mar 19, 2015
@clintongormley clintongormley changed the title Java API: package private getters to become public if there have corresponding public setters Package private getters to become public if there have corresponding public setters Jun 7, 2015
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.

None yet

3 participants