Commit 9b5cb4f9 authored by Andy Wilkinson's avatar Andy Wilkinson

Remove need for public constructor on inner-class

Closes gh-17086
parent 7a9d1a1e
......@@ -67,12 +67,13 @@ class JerseyAutoConfigurationServletContainerTests {
PropertyPlaceholderAutoConfiguration.class })
@Import(ContainerConfiguration.class)
@Path("/hello")
@Configuration(proxyBeanMethods = false)
public static class Application extends ResourceConfig {
@Value("${message:World}")
private String msg;
public Application() {
Application() {
register(Application.class);
}
......
......@@ -37,7 +37,6 @@
<suppress files="RemoteUrlPropertyExtractorTests\.java" checks="IllegalImport" />
<suppress files="SampleLogbackApplication\.java" checks="IllegalImport" />
<suppress files="FlywayAutoConfigurationTests\.java" checks="IllegalImport" />
<suppress files="JerseyAutoConfigurationServletContainerTests" checks="RedundantModifier" />
<suppress files="ModifiedClassPathRunnerOverridesTests" checks="SpringJUnit5" />
<suppress files="ModifiedClassPathRunnerExclusionsTests" checks="SpringJUnit5" />
<suppress files="[\\/]src[\\/]test[\\/]java[\\/]org[\\/]springframework[\\/]boot[\\/]test[\\/]rule[\\/]" checks="SpringJUnit5" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment