Skip to content

Commit

Permalink
Merge pull request #44545 from tran4774/main
Browse files Browse the repository at this point in the history
Wrong index of ParameterizedType argument of Map when register type to be generated in JacksonCodeGenerator
  • Loading branch information
geoand authored Nov 18, 2024
2 parents e44e07e + ee68fdb commit 6e4206e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ protected FieldKind registerTypeToBeGenerated(Type fieldType, String typeName) {
}
}
if (pType.arguments().size() == 2 && typeName.equals("java.util.Map")) {
registerTypeToBeGenerated(pType.arguments().get(1));
registerTypeToBeGenerated(pType.arguments().get(0));
registerTypeToBeGenerated(pType.arguments().get(1));
return FieldKind.MAP;
}
Expand Down

0 comments on commit 6e4206e

Please sign in to comment.