Merge pull request #11303 from izeye:add-abstract

* pr/11303:
  Add missing "abstract" keywords
This commit is contained in:
Stephane Nicoll 2017-12-09 15:29:33 -08:00
commit 243b126341
7 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@ import org.springframework.ui.freemarker.FreeMarkerConfigurationFactory;
*
* @author Brian Clozel
*/
class AbstractFreeMarkerConfiguration {
abstract class AbstractFreeMarkerConfiguration {
private final FreeMarkerProperties properties;

View File

@ -35,7 +35,7 @@ import org.springframework.core.type.AnnotationMetadata;
* @author Madhura Bhave
* @author Andy Wilkinson
*/
class AbstractSessionCondition extends SpringBootCondition {
abstract class AbstractSessionCondition extends SpringBootCondition {
private final WebApplicationType webApplicationType;

View File

@ -88,7 +88,7 @@ public abstract class AbstractSpringBootTestEmbeddedReactiveWebEnvironmentTests
assertThat(this.value).isEqualTo(123);
}
protected static class AbstractConfig {
protected static abstract class AbstractConfig {
@Value("${server.port:8080}")
private int port = 8080;

View File

@ -92,7 +92,7 @@ public abstract class AbstractSpringBootTestWebServerWebEnvironmentTests {
WebApplicationContextUtils.getWebApplicationContext(this.servletContext));
}
protected static class AbstractConfig {
protected static abstract class AbstractConfig {
@Value("${server.port:8080}")
private int port = 8080;

View File

@ -43,7 +43,7 @@ import org.springframework.util.FileCopyUtils;
*
* @author Andy Wilkinson
*/
public class AbstractExecutableArchiveLauncherTests {
public abstract class AbstractExecutableArchiveLauncherTests {
@Rule
public TemporaryFolder temp = new TemporaryFolder();

View File

@ -37,7 +37,7 @@ import org.springframework.util.Assert;
* @author Brian Clozel
* @since 2.0.0
*/
public class AbstractConfigurableWebServerFactory
public abstract class AbstractConfigurableWebServerFactory
implements ConfigurableWebServerFactory {
private int port = 8080;

View File

@ -1277,7 +1277,7 @@ public class SpringApplicationTests {
}
static class AbstractTestRunner implements ApplicationContextAware, Ordered {
static abstract class AbstractTestRunner implements ApplicationContextAware, Ordered {
private final String[] expectedBefore;