Skip to content

Commit 9efdfad

Browse files
committed
[maven-release-plugin] prepare release gson-parent-2.10
1 parent 4f948dd commit 9efdfad

10 files changed

Lines changed: 17 additions & 17 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ There are a few open-source projects that can convert Java objects to JSON. Howe
1919
Gradle:
2020
```gradle
2121
dependencies {
22-
implementation 'com.google.code.gson:gson:2.9.1'
22+
implementation 'com.google.code.gson:gson:2.10'
2323
}
2424
```
2525

@@ -28,7 +28,7 @@ Maven:
2828
<dependency>
2929
<groupId>com.google.code.gson</groupId>
3030
<artifactId>gson</artifactId>
31-
<version>2.9.1</version>
31+
<version>2.10</version>
3232
</dependency>
3333
```
3434

UserGuide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The Gson instance does not maintain any state while invoking JSON operations. So
7676

7777
```gradle
7878
dependencies {
79-
implementation 'com.google.code.gson:gson:2.9.1'
79+
implementation 'com.google.code.gson:gson:2.10'
8080
}
8181
```
8282

@@ -90,7 +90,7 @@ To use Gson with Maven2/3, you can use the Gson version available in Maven Centr
9090
<dependency>
9191
<groupId>com.google.code.gson</groupId>
9292
<artifactId>gson</artifactId>
93-
<version>2.9.1</version>
93+
<version>2.10</version>
9494
<scope>compile</scope>
9595
</dependency>
9696
</dependencies>

extras/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>com.google.code.gson</groupId>
55
<artifactId>gson-parent</artifactId>
6-
<version>2.9.2-SNAPSHOT</version>
6+
<version>2.10</version>
77
</parent>
88

99
<artifactId>gson-extras</artifactId>

gson/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.google.code.gson</groupId>
66
<artifactId>gson-parent</artifactId>
7-
<version>2.9.2-SNAPSHOT</version>
7+
<version>2.10</version>
88
</parent>
99

1010
<artifactId>gson</artifactId>
@@ -246,7 +246,7 @@
246246
</activation>
247247
<properties>
248248
<maven.compiler.testRelease>17</maven.compiler.testRelease>
249-
<excludeTestCompilation></excludeTestCompilation>
249+
<excludeTestCompilation />
250250
</properties>
251251
</profile>
252252
</profiles>

gson/src/main/java/com/google/gson/Gson.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ public <T> T fromJson(String json, Type typeOfT) throws JsonSyntaxException {
10241024
*
10251025
* @see #fromJson(Reader, TypeToken)
10261026
* @see #fromJson(String, Class)
1027-
* @since $next-version$
1027+
* @since 2.10
10281028
*/
10291029
public <T> T fromJson(String json, TypeToken<T> typeOfT) throws JsonSyntaxException {
10301030
if (json == null) {
@@ -1117,7 +1117,7 @@ public <T> T fromJson(Reader json, Type typeOfT) throws JsonIOException, JsonSyn
11171117
*
11181118
* @see #fromJson(String, TypeToken)
11191119
* @see #fromJson(Reader, Class)
1120-
* @since $next-version$
1120+
* @since 2.10
11211121
*/
11221122
public <T> T fromJson(Reader json, TypeToken<T> typeOfT) throws JsonIOException, JsonSyntaxException {
11231123
JsonReader jsonReader = newJsonReader(json);
@@ -1201,7 +1201,7 @@ public <T> T fromJson(JsonReader reader, Type typeOfT) throws JsonIOException, J
12011201
*
12021202
* @see #fromJson(Reader, TypeToken)
12031203
* @see #fromJson(JsonReader, Type)
1204-
* @since $next-version$
1204+
* @since 2.10
12051205
*/
12061206
public <T> T fromJson(JsonReader reader, TypeToken<T> typeOfT) throws JsonIOException, JsonSyntaxException {
12071207
boolean isEmpty = true;
@@ -1310,7 +1310,7 @@ public <T> T fromJson(JsonElement json, Type typeOfT) throws JsonSyntaxException
13101310
*
13111311
* @see #fromJson(Reader, TypeToken)
13121312
* @see #fromJson(JsonElement, Class)
1313-
* @since $next-version$
1313+
* @since 2.10
13141314
*/
13151315
public <T> T fromJson(JsonElement json, TypeToken<T> typeOfT) throws JsonSyntaxException {
13161316
if (json == null) {

gson/src/main/java/com/google/gson/JsonArray.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ public boolean getAsBoolean() {
406406
* Use {@link JsonNull} for JSON null values.
407407
*
408408
* @return mutable {@code List} view
409-
* @since $next-version$
409+
* @since 2.10
410410
*/
411411
public List<JsonElement> asList() {
412412
return new NonNullElementWrapperList<>(elements);

gson/src/main/java/com/google/gson/JsonObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public JsonObject getAsJsonObject(String memberName) {
220220
* Use {@link JsonNull} for JSON null values.
221221
*
222222
* @return mutable {@code Map} view
223-
* @since $next-version$
223+
* @since 2.10
224224
*/
225225
public Map<String, JsonElement> asMap() {
226226
// It is safe to expose the underlying map because it disallows null keys and values

metrics/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>com.google.code.gson</groupId>
55
<artifactId>gson-parent</artifactId>
6-
<version>2.9.2-SNAPSHOT</version>
6+
<version>2.10</version>
77
</parent>
88

99
<artifactId>gson-metrics</artifactId>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.google.code.gson</groupId>
77
<artifactId>gson-parent</artifactId>
8-
<version>2.9.2-SNAPSHOT</version>
8+
<version>2.10</version>
99
<packaging>pom</packaging>
1010

1111
<name>Gson Parent</name>
@@ -28,7 +28,7 @@
2828
<url>https://github.com/google/gson/</url>
2929
<connection>scm:git:https://github.com/google/gson.git</connection>
3030
<developerConnection>scm:git:git@github.com:google/gson.git</developerConnection>
31-
<tag>HEAD</tag>
31+
<tag>gson-parent-2.10</tag>
3232
</scm>
3333

3434
<issueManagement>

proto/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.google.code.gson</groupId>
88
<artifactId>gson-parent</artifactId>
9-
<version>2.9.2-SNAPSHOT</version>
9+
<version>2.10</version>
1010
</parent>
1111

1212
<artifactId>proto</artifactId>

0 commit comments

Comments
 (0)