Remove need for public constructor on inner-class

Closes gh-17086
pull/17022/head
Andy Wilkinson 6 years ago
parent 7a9d1a1e34
commit 9b5cb4f9b8

@ -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" />

Loading…
Cancel
Save