Skip to content

Commit 99e77ff

Browse files
author
Nikita Sapozhnikov
committed
Order of module initialization changed
1 parent 2759e0c commit 99e77ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micro-jackson-configuration/src/main/java/com/aol/micro/server/jackson/CoreJacksonConfigurator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public CoreJacksonConfigurator(@Value("${jackson.seriliazation:NON_NULL}")Includ
2222
public void accept(ObjectMapper mapper) {
2323
JaxbAnnotationModule module = new JaxbAnnotationModule();
2424
// configure as necessary
25-
mapper.registerModule(module);
2625
inc.map(include->mapper.setSerializationInclusion(include));
26+
mapper.registerModule(module);
2727
PluginLoader.INSTANCE.plugins.get().stream()
2828
.filter(m -> m.jacksonModules()!=null)
2929
.flatMap(m -> m.jacksonModules().stream())

0 commit comments

Comments
 (0)