File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
libs/x-content/impl/src/main/java/org/elasticsearch/xcontent/provider/json Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 1313import com .fasterxml .jackson .core .JsonFactory ;
1414import com .fasterxml .jackson .core .JsonGenerator ;
1515import com .fasterxml .jackson .core .JsonParser ;
16-
1716import com .fasterxml .jackson .core .json .JsonWriteFeature ;
1817
1918import org .elasticsearch .xcontent .XContent ;
@@ -50,9 +49,7 @@ public static final XContent jsonXContent() {
5049 }
5150
5251 static {
53- jsonFactory = XContentImplUtils .configure (
54- new ESJsonFactoryBuilder ().enable (JsonWriteFeature .COMBINE_UNICODE_SURROGATES_IN_UTF8 )
55- );
52+ jsonFactory = XContentImplUtils .configure (new ESJsonFactoryBuilder ().enable (JsonWriteFeature .COMBINE_UNICODE_SURROGATES_IN_UTF8 ));
5653 jsonFactory .configure (JsonGenerator .Feature .QUOTE_FIELD_NAMES , true );
5754 jsonFactory .configure (JsonParser .Feature .ALLOW_COMMENTS , true );
5855 jsonFactory .configure (JsonFactory .Feature .FAIL_ON_SYMBOL_HASH_OVERFLOW , false ); // this trips on many mappings now...
You can’t perform that action at this time.
0 commit comments