Fix compile issue

This commit is contained in:
jamesagnew 2016-08-01 22:18:23 -04:00
parent 545b359697
commit 6aa7aed3cf
1 changed files with 2 additions and 2 deletions

View File

@ -407,9 +407,9 @@ public class Controller extends BaseController {
clientCodeJsonWriter.nullValue();
}
if (client.getPrettyPrint() != null) {
if (client.isPrettyPrint()) {
clientCodeJsonWriter.name("pretty");
clientCodeJsonWriter.value(client.getPrettyPrint().toString());
clientCodeJsonWriter.value("true");
} else {
clientCodeJsonWriter.name("pretty");
clientCodeJsonWriter.nullValue();