mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Remove need for public constructor on inner-class
Closes gh-17086
This commit is contained in:
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…
Reference in New Issue
Block a user