diff --git a/README.md b/README.md index 49a0264260..64f1b30c48 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ There are a few open-source projects that can convert Java objects to JSON. Howe Gradle: ```gradle dependencies { - implementation 'com.google.code.gson:gson:2.10' + implementation 'com.google.code.gson:gson:2.10.1' } ``` @@ -28,7 +28,7 @@ Maven: com.google.code.gson gson - 2.10 + 2.10.1 ``` diff --git a/UserGuide.md b/UserGuide.md index 03f72415f4..0538067114 100644 --- a/UserGuide.md +++ b/UserGuide.md @@ -76,7 +76,7 @@ The Gson instance does not maintain any state while invoking JSON operations. So ```gradle dependencies { - implementation 'com.google.code.gson:gson:2.10' + implementation 'com.google.code.gson:gson:2.10.1' } ``` @@ -90,7 +90,7 @@ To use Gson with Maven2/3, you can use the Gson version available in Maven Centr com.google.code.gson gson - 2.10 + 2.10.1 compile diff --git a/extras/pom.xml b/extras/pom.xml index 92a1142a9b..ebeb66b45c 100644 --- a/extras/pom.xml +++ b/extras/pom.xml @@ -3,7 +3,7 @@ com.google.code.gson gson-parent - 2.11.0-SNAPSHOT + 2.10.1 gson-extras diff --git a/gson/pom.xml b/gson/pom.xml index 251f8d0194..d66e1dcb58 100644 --- a/gson/pom.xml +++ b/gson/pom.xml @@ -4,7 +4,7 @@ com.google.code.gson gson-parent - 2.11.0-SNAPSHOT + 2.10.1 gson diff --git a/gson/src/main/java/com/google/gson/JsonObject.java b/gson/src/main/java/com/google/gson/JsonObject.java index fdf240d235..ac8ad685ca 100644 --- a/gson/src/main/java/com/google/gson/JsonObject.java +++ b/gson/src/main/java/com/google/gson/JsonObject.java @@ -159,7 +159,7 @@ public int size() { * Returns true if the number of key/value pairs in the object is zero. * * @return true if the number of key/value pairs in the object is zero. - * @since $next-version$ + * @since 2.10.1 */ public boolean isEmpty() { return members.size() == 0; diff --git a/metrics/pom.xml b/metrics/pom.xml index 1839b4d8f1..7a9dc18ee0 100644 --- a/metrics/pom.xml +++ b/metrics/pom.xml @@ -3,7 +3,7 @@ com.google.code.gson gson-parent - 2.11.0-SNAPSHOT + 2.10.1 gson-metrics diff --git a/pom.xml b/pom.xml index dbf50d8b45..b75c97907d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.google.code.gson gson-parent - 2.11.0-SNAPSHOT + 2.10.1 pom Gson Parent @@ -28,7 +28,7 @@ https://github.com/google/gson/ scm:git:https://github.com/google/gson.git scm:git:git@github.com:google/gson.git - HEAD + gson-parent-2.10.1 diff --git a/proto/pom.xml b/proto/pom.xml index a51b01a28f..74ab60c8ed 100644 --- a/proto/pom.xml +++ b/proto/pom.xml @@ -6,7 +6,7 @@ com.google.code.gson gson-parent - 2.11.0-SNAPSHOT + 2.10.1 proto