diff --git a/src/main/java/org/nustaq/serialization/FSTConfiguration.java b/src/main/java/org/nustaq/serialization/FSTConfiguration.java index 1dc55912..e839e495 100644 --- a/src/main/java/org/nustaq/serialization/FSTConfiguration.java +++ b/src/main/java/org/nustaq/serialization/FSTConfiguration.java @@ -300,7 +300,6 @@ private static FSTConfiguration constructJsonConf(boolean prettyPrint, boolean s conf.type = prettyPrint ? ConfType.JSONPRETTY : ConfType.JSON; JsonFactory fac; if ( prettyPrint ) { - { fac = new JsonFactory() { protected JsonGenerator _createUTF8Generator(OutputStream out, IOContext ctxt) throws IOException { UTF8JsonGenerator gen = new JacksonAccessWorkaround(ctxt, @@ -321,7 +320,6 @@ public JsonGenerator createGenerator(OutputStream out) throws IOException { } .disable(JsonGenerator.Feature.FLUSH_PASSED_TO_STREAM) .disable(JsonGenerator.Feature.AUTO_CLOSE_TARGET); - } } else { fac = new JsonFactory() { protected JsonGenerator _createUTF8Generator(OutputStream out, IOContext ctxt) throws IOException {