diff options
author | Luck <git@lucko.me> | 2018-05-28 12:24:41 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2018-05-28 12:24:41 +0100 |
commit | 70b88264da4ff67dfd7b887e9550c9934f2414c7 (patch) | |
tree | 65fa89043b4ec782a9137d5eb341af2490b1be99 | |
parent | b543b763201431a275e203d4834d75011dad2168 (diff) | |
download | spark-70b88264da4ff67dfd7b887e9550c9934f2414c7.tar.gz spark-70b88264da4ff67dfd7b887e9550c9934f2414c7.tar.bz2 spark-70b88264da4ff67dfd7b887e9550c9934f2414c7.zip |
Disable GSON pretty printing
-rw-r--r-- | common/src/main/java/me/lucko/spark/common/http/Bytebin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/me/lucko/spark/common/http/Bytebin.java b/common/src/main/java/me/lucko/spark/common/http/Bytebin.java index 7d95838..b2a7749 100644 --- a/common/src/main/java/me/lucko/spark/common/http/Bytebin.java +++ b/common/src/main/java/me/lucko/spark/common/http/Bytebin.java @@ -27,7 +27,7 @@ import java.util.zip.GZIPOutputStream; public final class Bytebin { /** Shared GSON instance */ - private static final Gson GSON = new GsonBuilder().setPrettyPrinting().disableHtmlEscaping().create(); + private static final Gson GSON = new GsonBuilder().disableHtmlEscaping().create(); /** Media type for JSON data */ private static final MediaType JSON_TYPE = MediaType.parse("application/json; charset=utf-8"); /** The URL used to upload sampling data */ |