Browse Source

Polishing

pull/1828/merge
Sebastien Deleuze 7 years ago
parent
commit
bdfee3417e
  1. 2
      spring-web/src/main/java/org/springframework/http/converter/json/Jackson2ObjectMapperBuilder.java

2
spring-web/src/main/java/org/springframework/http/converter/json/Jackson2ObjectMapperBuilder.java

@ -677,7 +677,7 @@ public class Jackson2ObjectMapperBuilder { @@ -677,7 +677,7 @@ public class Jackson2ObjectMapperBuilder {
objectMapper.setFilterProvider(this.filters);
}
this.mixIns.forEach((target, mixinSource) -> objectMapper.addMixIn(target, mixinSource));
this.mixIns.forEach(objectMapper::addMixIn);
if (!this.serializers.isEmpty() || !this.deserializers.isEmpty()) {
SimpleModule module = new SimpleModule();

Loading…
Cancel
Save