From 527c6cf0d0ced9ac00aa1e6f0fda393f6bb5be88 Mon Sep 17 00:00:00 2001 From: tiegen Date: Mon, 26 Apr 2021 10:36:02 +0800 Subject: [PATCH] Update gson/src/main/java/com/google/gson/GsonBuilder.java Co-authored-by: Marcono1234 --- gson/src/main/java/com/google/gson/GsonBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gson/src/main/java/com/google/gson/GsonBuilder.java b/gson/src/main/java/com/google/gson/GsonBuilder.java index c0401c19..b8eb067e 100644 --- a/gson/src/main/java/com/google/gson/GsonBuilder.java +++ b/gson/src/main/java/com/google/gson/GsonBuilder.java @@ -280,7 +280,7 @@ public final class GsonBuilder { /** * Configures Gson to deserialize duplicate map keys. Only the value of last entry with the same key will be used, previous values - * will be discarded. By default, Gson throws a {@link JsonSyntaxException} when a key occurs more than once. + * will be discarded. By default, Gson throws a {@link JsonSyntaxException} when a key occurs more than once. * *

Note that enabling support for duplicate maps keys is discouraged because it can make an application less secure. * When an application interacts with other components using different JSON libraries, they might treat duplicate keys