-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace uses of newParameterizedType
This uses the "well known" trick, used already elsewhere in the code, to use the anonymous inner class to force reification of type parameters, so that `Key` can get the exact type parameter information via reflection. This saves us a utility method and an unchecked cast.
- Loading branch information
Showing
1 changed file
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters