Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Lo1nt committed Jan 12, 2024
1 parent 96379b1 commit 223d2eb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -530,16 +530,16 @@ public void testJacksonFeatureByConfigKey() {
JacksonSerializer testSer = null;
try {
System.setProperty(JacksonSerializer.JACKSON_SER_FEATURE_ENABLE_LIST.getKey(),
SerializationFeature.WRAP_ROOT_VALUE + ","
SerializationFeature.WRAP_ROOT_VALUE + ","
+ SerializationFeature.INDENT_OUTPUT);
System.setProperty(JacksonSerializer.JACKSON_SER_FEATURE_DISABLE_LIST.getKey(),
SerializationFeature.FAIL_ON_EMPTY_BEANS.name() + ","
SerializationFeature.FAIL_ON_EMPTY_BEANS.name() + ","
+ SerializationFeature.FAIL_ON_SELF_REFERENCES.name());
System.setProperty(JacksonSerializer.JACKSON_DES_FEATURE_ENABLE_LIST.getKey(),
DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES + ","
DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES + ","
+ DeserializationFeature.FAIL_ON_NUMBERS_FOR_ENUMS);
System.setProperty(JacksonSerializer.JACKSON_DES_FEATURE_DISABLE_LIST.getKey(),
DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES.name() + ","
DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES.name() + ","
+ DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS.name());
// test ser after property set
testSer = new JacksonSerializer();
Expand Down

0 comments on commit 223d2eb

Please sign in to comment.