diff --git a/media/json-jackson/src/main/java/org/glassfish/jersey/jackson/internal/DefaultJacksonJaxbJsonProvider.java b/media/json-jackson/src/main/java/org/glassfish/jersey/jackson/internal/DefaultJacksonJaxbJsonProvider.java index d7b9f9c096..a209c27c9d 100644 --- a/media/json-jackson/src/main/java/org/glassfish/jersey/jackson/internal/DefaultJacksonJaxbJsonProvider.java +++ b/media/json-jackson/src/main/java/org/glassfish/jersey/jackson/internal/DefaultJacksonJaxbJsonProvider.java @@ -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; @@ -147,4 +143,4 @@ private void updateFactoryConstraints(JsonFactory jsonFactory) { ); } } -} \ No newline at end of file +}