Skip to content

Commit

Permalink
Legacy code removal
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
  • Loading branch information
senivam committed Sep 9, 2024
1 parent 4ff7b9f commit d28c1ec
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ public DefaultJacksonJaxbJsonProvider(@Context Providers providers, @Context Con
//do not register JaxbAnnotationModule because it brakes default annotations processing
private static final String[] EXCLUDE_MODULE_NAMES = {"JaxbAnnotationModule", "JakartaXmlBindAnnotationModule"};

public DefaultJacksonJaxbJsonProvider() {
super(new JacksonMapperConfigurator(null, DEFAULT_ANNOTATIONS));
}

public DefaultJacksonJaxbJsonProvider(Providers providers, Configuration config, Annotations... annotationsToUse) {
super(new JacksonMapperConfigurator(null, annotationsToUse));
this.commonConfig = config;
Expand Down Expand Up @@ -147,4 +143,4 @@ private void updateFactoryConstraints(JsonFactory jsonFactory) {
);
}
}
}
}

0 comments on commit d28c1ec

Please sign in to comment.