Skip to content

Commit

Permalink
fix: fix review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
suraj-qlogic committed Aug 27, 2020
1 parent a4e8e47 commit ad6d398
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -279,8 +279,7 @@ private static <T> T deserializeToParameterizedType(
throw deserializeError(
context.errorPath,
String.format(
"Unable to deserialize to the %s type: %s",
rawType.getSimpleName(), e.toString()));
"Unable to deserialize to %s: %s", rawType.getSimpleName(), e.toString()));
}
for (int i = 0; i < list.size(); i++) {
result.add(
Expand Down Expand Up @@ -315,7 +314,7 @@ private static <T> T deserializeToParameterizedType(
throw deserializeError(
context.errorPath,
String.format(
"Unable to deserialize to the %s type: %s", rawType.getSimpleName(), e.toString()));
"Unable to deserialize to %s: %s", rawType.getSimpleName(), e.toString()));
}
for (Map.Entry<String, Object> entry : map.entrySet()) {
result.put(
Expand Down

0 comments on commit ad6d398

Please sign in to comment.