Update gson/src/main/java/com/google/gson/GsonBuilder.java

Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
This commit is contained in:
tiegen 2021-04-25 16:33:36 +08:00 committed by GitHub
parent a0ea108c59
commit 08765cae4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,7 +285,7 @@ public final class GsonBuilder {
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern * @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern
* @since 2.8 * @since 2.8
*/ */
public GsonBuilder enableDuplicateMapKeyDeserialization() { public GsonBuilder enableDuplicateMapKeysDeserialization() {
duplicateMapKeyDeserialization = true; duplicateMapKeyDeserialization = true;
return this; return this;
} }