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

Adds getters for config fields. #838

Closed
wants to merge 3 commits into from

Conversation

rharter
Copy link
Contributor

@rharter rharter commented Apr 25, 2016

This adds simple getters for certain config fields that would be helpful in custom TypeAdapters to deal with situations like this: rharter/auto-value-gson#18

return excluder;
}

public FieldNamingStrategy getFieldNamingStrategy() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would drop the 'get' prefix on these two.

@swankjesse
Copy link
Collaborator

Merged manually. I updated your copyright header!

@swankjesse swankjesse closed this Apr 26, 2016
@swankjesse
Copy link
Collaborator

Merged commit is a851569

@rharter
Copy link
Contributor Author

rharter commented Apr 26, 2016

Hah, I just copied that from another file and didn't pay attention. I didn't actually write this in 2008 :)

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

Successfully merging this pull request may close these issues.

3 participants