Merge branch '1.5.x' into 2.0.x
This commit is contained in:
@@ -237,8 +237,9 @@ public class JerseyAutoConfiguration implements ServletContextAware {
|
||||
final ObjectMapper objectMapper) {
|
||||
addJaxbAnnotationIntrospectorIfPresent(objectMapper);
|
||||
return (ResourceConfig config) -> {
|
||||
config.register(JacksonFeature.class);
|
||||
config.register(new ObjectMapperContextResolver(objectMapper),
|
||||
JerseyAutoConfiguration.this.config.register(JacksonFeature.class);
|
||||
JerseyAutoConfiguration.this.config.register(
|
||||
new ObjectMapperContextResolver(objectMapper),
|
||||
ContextResolver.class);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
<suppressions>
|
||||
<suppress files="SpringApplicationTests\.java" checks="FinalClass" />
|
||||
<suppress files=".+Configuration\.java" checks="HideUtilityClassConstructor" />
|
||||
<suppress files="LaunchScriptTestApplication\.java" checks="HideUtilityClassConstructor" />
|
||||
<suppress files="DevToolsTestApplication\.java" checks="HideUtilityClassConstructor" />
|
||||
<suppress files=".+Application\.java" checks="HideUtilityClassConstructor" />
|
||||
<suppress files="SignalUtils\.java" checks="IllegalImport" />
|
||||
<suppress files="[\\/]src[\\/]test[\\/]java[\\/]cli[\\/]command[\\/]" checks="ImportControl" />
|
||||
<suppress files="[\\/]src[\\/]main[\\/]java[\\/]sample[\\/]" checks="ImportControl" />
|
||||
@@ -23,4 +22,8 @@
|
||||
<suppress files="LogLevel\.java" checks="JavadocVariable" />
|
||||
<suppress files="HelpMojo\.java" checks=".*"/>
|
||||
<suppress files="[\\/]org.springframework.boot.configurationprocessor.json[\\/].*\.java$" checks=".*"/>
|
||||
<suppress files="TripType\.java" checks="JavadocVariable" />
|
||||
<suppress files="Rating\.java" checks="JavadocVariable" />
|
||||
<suppress files="Direction\.java" checks="JavadocVariable" />
|
||||
<suppress files="JooqExamples\.java" checks="AvoidStaticImport"/>
|
||||
</suppressions>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
Reference in New Issue
Block a user