Add line feed for prettified main REST action

This commit is contained in:
Benjamin Devèze 2013-11-20 22:39:44 +01:00 committed by Luca Cavanna
parent 8e54319a1d
commit c20d4bb69e
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public class RestMainAction extends BaseRestHandler {
// Default to pretty printing, but allow ?pretty=false to disable
if (!request.hasParam("pretty")) {
builder.prettyPrint();
builder.prettyPrint().lfAtEnd();
}
builder.startObject();