File tree 1 file changed +6
-5
lines changed
src/test/java/com/fasterxml/jackson/dataformat/xml/deser
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,16 @@ static class RootObject {
48
48
// [dataformat-xml#274]
49
49
public void testIssue274 () throws Exception
50
50
{
51
- final ObjectMapper xm = newMapper ();
51
+ final ObjectMapper xm = newMapper ()
52
52
53
53
// serialization features
54
54
// xm.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
55
55
// xm.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS);
56
- // deserialization features
57
- xm .enable (DeserializationFeature .ACCEPT_EMPTY_STRING_AS_NULL_OBJECT );
58
- //this is for deserialization only and means we don't need to camelCase xml property names
59
- xm .enable (MapperFeature .ACCEPT_CASE_INSENSITIVE_PROPERTIES );
56
+
57
+ .enable (DeserializationFeature .ACCEPT_EMPTY_STRING_AS_NULL_OBJECT )
58
+ //this is for deserialization only and means we don't need to camelCase xml property names
59
+ .enable (MapperFeature .ACCEPT_CASE_INSENSITIVE_PROPERTIES )
60
+ ;
60
61
61
62
RootObject obj = xm .readValue (XML , RootObject .class );
62
63
assertNotNull (obj );
You can’t perform that action at this time.
0 commit comments