Skip to content

Commit e75cf91

Browse files
committed
[BAEL-6553] changes
1 parent 923de8e commit e75cf91

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

json-modules/gson-3/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313

1414
<properties>
1515
<gson-version>2.12.1</gson-version>
16+
<junit-version>4.13.1</junit-version>
1617
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1718
</properties>
1819
<dependencies>
1920
<dependency>
2021
<groupId>junit</groupId>
2122
<artifactId>junit</artifactId>
22-
<version>4.13.1</version>
23+
<version>${junit-version}</version>
2324
<scope>test</scope>
2425
</dependency>
2526
<dependency>

json-modules/gson-3/src/main/java/User.java renamed to json-modules/gson-3/src/main/java/com/baeldung/gson/entities/User.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
package com.baeldung.gson.entities;
2+
13
import com.google.gson.annotations.Expose;
24
import com.google.gson.annotations.SerializedName;
35

json-modules/gson-3/src/test/java/GsonUnitTest.java renamed to json-modules/gson-3/src/test/java/com/baeldung/gson/GsonUnitTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
package com.baeldung.gson;
2+
13
import static org.junit.jupiter.api.Assertions.assertEquals;
24
import static org.junit.jupiter.api.Assertions.assertNull;
35

46
import org.junit.jupiter.api.Test;
57

8+
import com.baeldung.gson.entities.User;
69
import com.google.gson.Gson;
710
import com.google.gson.GsonBuilder;
811

0 commit comments

Comments
 (0)