Skip to content

Commit ad6d398

Browse files
committed
fix: fix review changes
1 parent a4e8e47 commit ad6d398

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

google-cloud-firestore/src/main/java/com/google/cloud/firestore/CustomClassMapper.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,7 @@ private static <T> T deserializeToParameterizedType(
279279
throw deserializeError(
280280
context.errorPath,
281281
String.format(
282-
"Unable to deserialize to the %s type: %s",
283-
rawType.getSimpleName(), e.toString()));
282+
"Unable to deserialize to %s: %s", rawType.getSimpleName(), e.toString()));
284283
}
285284
for (int i = 0; i < list.size(); i++) {
286285
result.add(
@@ -315,7 +314,7 @@ private static <T> T deserializeToParameterizedType(
315314
throw deserializeError(
316315
context.errorPath,
317316
String.format(
318-
"Unable to deserialize to the %s type: %s", rawType.getSimpleName(), e.toString()));
317+
"Unable to deserialize to %s: %s", rawType.getSimpleName(), e.toString()));
319318
}
320319
for (Map.Entry<String, Object> entry : map.entrySet()) {
321320
result.put(

0 commit comments

Comments
 (0)