diff options
author | James Moger <james.moger@gitblit.com> | 2013-04-10 07:46:32 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-04-10 07:46:32 -0400 |
commit | e57f4c85dbe0ee04665e43ce33c71f8581935bed (patch) | |
tree | cf6cadcb0f1f32ae106ed57eef21db0f3100e16a /src/main/java/com/gitblit | |
parent | 35ae57001180bc67b66a4ebc67007a75e1c470f5 (diff) | |
download | gitblit-e57f4c85dbe0ee04665e43ce33c71f8581935bed.tar.gz gitblit-e57f4c85dbe0ee04665e43ce33c71f8581935bed.zip |
Disable Gson pretty printing
Diffstat (limited to 'src/main/java/com/gitblit')
-rw-r--r-- | src/main/java/com/gitblit/utils/JsonUtils.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/utils/JsonUtils.java b/src/main/java/com/gitblit/utils/JsonUtils.java index 24f4ecb8..e9241827 100644 --- a/src/main/java/com/gitblit/utils/JsonUtils.java +++ b/src/main/java/com/gitblit/utils/JsonUtils.java @@ -268,7 +268,6 @@ public class JsonUtils { GsonBuilder builder = new GsonBuilder();
builder.registerTypeAdapter(Date.class, new GmtDateTypeAdapter());
builder.registerTypeAdapter(AccessPermission.class, new AccessPermissionTypeAdapter());
- builder.setPrettyPrinting();
if (!ArrayUtils.isEmpty(strategies)) {
builder.setExclusionStrategies(strategies);
}
|