Skip to content

Conversation

@opensourcevk
Copy link
Contributor

No description provided.

private static final ObjectMapper mapper = new ObjectMapper();

// Cache the TypeReference to avoid creating a new anonymous subclass on each parse call.
private static final TypeReference<Map<String, Object>> MAP_TYPE_REFERENCE = new TypeReference<Map<String, Object>>() {};
Copy link
Member

Choose a reason for hiding this comment

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

👍


private static final ObjectMapper mapper = new ObjectMapper();

// Cache the TypeReference to avoid creating a new anonymous subclass on each parse call.
Copy link
Member

Choose a reason for hiding this comment

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

This comment doesn’t add value and can be removed.

@jaaufauvre jaaufauvre self-requested a review January 16, 2026 10:03
@jaaufauvre
Copy link
Member

Thanks for the PR! I went ahead and pushed a few adjustments.

@jaaufauvre jaaufauvre merged commit 59c878c into Mastercard:main Jan 16, 2026
26 checks passed
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