From a1652eaf38b29c2a28bb9c43ceeea75e76b20568 Mon Sep 17 00:00:00 2001 From: zaxar163 Date: Fri, 31 May 2019 10:02:56 +0300 Subject: [PATCH] =?UTF-8?q?[FEATURE][EXP]=20=D0=9F=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=D1=8C=D0=BD=D0=BE=D0=B5=20=D1=81=D0=B5=D1=80=D0=B5=D0=B0?= =?UTF-8?q?=D0=BB=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20byte[]=20=D0=B2=20?= =?UTF-8?q?GsonManager.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/ru/gravit/launcher/managers/GsonManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/LauncherCore/src/main/java/ru/gravit/launcher/managers/GsonManager.java b/LauncherCore/src/main/java/ru/gravit/launcher/managers/GsonManager.java index bf89bb33..bf93aafd 100644 --- a/LauncherCore/src/main/java/ru/gravit/launcher/managers/GsonManager.java +++ b/LauncherCore/src/main/java/ru/gravit/launcher/managers/GsonManager.java @@ -4,6 +4,7 @@ import com.google.gson.GsonBuilder; import ru.gravit.launcher.hasher.HashedEntry; import ru.gravit.launcher.hasher.HashedEntryAdapter; +import ru.gravit.utils.helper.CommonHelper; public class GsonManager { public GsonBuilder gsonBuilder; @@ -12,8 +13,8 @@ public class GsonManager { public Gson configGson; public void initGson() { - gsonBuilder = new GsonBuilder(); - configGsonBuilder = new GsonBuilder(); + gsonBuilder = CommonHelper.newBuilder(); + configGsonBuilder = CommonHelper.newBuilder(); configGsonBuilder.setPrettyPrinting(); registerAdapters(gsonBuilder); registerAdapters(configGsonBuilder);