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

fix issue #1107: resolve element type in wildcard collection types #1146

Merged
merged 3 commits into from
Sep 22, 2017

Conversation

amogilev
Copy link
Contributor

@amogilev amogilev commented Aug 19, 2017

This change fixes of detecting element types by method $Gson$Types.getCollectionElementType() when the generic collection type is declared using wildcards. For example, for the collection type "? extends List<Something>" it shall extract "Something" as the element type.

This change fixes issue #1107.

@inder123
Copy link
Collaborator

👍

@inder123 inder123 self-assigned this Sep 22, 2017
@inder123 inder123 merged commit b1fb9ca into google:master Sep 22, 2017
@amogilev amogilev deleted the fix-issue-1107 branch September 22, 2017 03:50
sebasjm pushed a commit to sebasjm/gson that referenced this pull request Mar 11, 2018
…pes (google#1146)

* fix issue google#1107: resolve element type in wildcard collection types

* fix Codacy warnings

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

Successfully merging this pull request may close these issues.

None yet

3 participants