Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
RuedigerMoeller committed Jun 22, 2015
1 parent 0351d3c commit 8a5b1b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/org/nustaq/serialization/FSTConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 {
Expand Down

0 comments on commit 8a5b1b3

Please sign in to comment.