Skip to content

Commit a868f59

Browse files
committed
Optimization GSON.
1 parent a9fd67d commit a868f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EasyRest/src/main/java/tech/dbgsoftware/easyrest/utils/JsonTranslationUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class JsonTranslationUtil {
99

1010
private static final Gson GSON = new GsonBuilder()
1111
.registerTypeAdapter(Long.class, new LongTypeAdapter())
12-
.registerTypeAdapter(long.class, new IntegerTypeAdapter())
12+
.registerTypeAdapter(long.class, new LongTypeAdapter())
1313
.registerTypeAdapter(Double.class, new DoubleTypeAdapter())
1414
.registerTypeAdapter(double.class, new DoubleTypeAdapter())
1515
.registerTypeAdapter(Integer.class, new IntegerTypeAdapter())

0 commit comments

Comments
 (0)