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 getTagsMap generic parameter handling #265

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

jpbempel
Copy link
Member

Instead of recovering on ClassCastException to fallback on List
handling, use instanceof to determine the type of tagsMap

@jpbempel jpbempel requested a review from a team February 11, 2020 10:57
@jpbempel jpbempel force-pushed the jpbempel/fixgetTagsMap branch from 55d1593 to a5805aa Compare February 12, 2020 08:45
Instead of recovering on ClassCastException to fallback on List
handling, use instanceof to determine the type of tagsMap
@jpbempel jpbempel force-pushed the jpbempel/fixgetTagsMap branch from a5805aa to 9e309da Compare February 12, 2020 08:53
Copy link
Member

@truthbk truthbk left a comment

Choose a reason for hiding this comment

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

Nice! 👌

@jpbempel jpbempel merged commit db4acec into DataDog:master Feb 12, 2020
@jpbempel jpbempel deleted the jpbempel/fixgetTagsMap branch February 12, 2020 14:51
@truthbk truthbk added this to the 0.35.0 milestone Feb 18, 2020
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.

2 participants