Fix logic

/me sighs
parent f12581ea
...@@ -99,7 +99,9 @@ public abstract class CatalystCommand { ...@@ -99,7 +99,9 @@ public abstract class CatalystCommand {
r = new Result(); r = new Result();
r.options = this; r.options = this;
r.results = new ArrayList<CorpusResult>(); r.results = new ArrayList<CorpusResult>();
gson = pretty ? new Gson() : new GsonBuilder().setPrettyPrinting().create(); gson = pretty ?
new GsonBuilder().setPrettyPrinting().create() :
new Gson();
errorCount = new AtomicInteger(); errorCount = new AtomicInteger();
wtxt = setupWriter(outputTxtFile, true); wtxt = setupWriter(outputTxtFile, true);
wjson = setupWriter(outputJsonFile, true); wjson = setupWriter(outputJsonFile, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment