Commit 96250743 authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Add missing "abstract" keywords

Closes gh-11303
parent 954cf72d
...@@ -25,7 +25,7 @@ import org.springframework.ui.freemarker.FreeMarkerConfigurationFactory; ...@@ -25,7 +25,7 @@ import org.springframework.ui.freemarker.FreeMarkerConfigurationFactory;
* *
* @author Brian Clozel * @author Brian Clozel
*/ */
class AbstractFreeMarkerConfiguration { abstract class AbstractFreeMarkerConfiguration {
private final FreeMarkerProperties properties; private final FreeMarkerProperties properties;
......
...@@ -35,7 +35,7 @@ import org.springframework.core.type.AnnotationMetadata; ...@@ -35,7 +35,7 @@ import org.springframework.core.type.AnnotationMetadata;
* @author Madhura Bhave * @author Madhura Bhave
* @author Andy Wilkinson * @author Andy Wilkinson
*/ */
class AbstractSessionCondition extends SpringBootCondition { abstract class AbstractSessionCondition extends SpringBootCondition {
private final WebApplicationType webApplicationType; private final WebApplicationType webApplicationType;
......
...@@ -88,7 +88,7 @@ public abstract class AbstractSpringBootTestEmbeddedReactiveWebEnvironmentTests ...@@ -88,7 +88,7 @@ public abstract class AbstractSpringBootTestEmbeddedReactiveWebEnvironmentTests
assertThat(this.value).isEqualTo(123); assertThat(this.value).isEqualTo(123);
} }
protected static class AbstractConfig { protected static abstract class AbstractConfig {
@Value("${server.port:8080}") @Value("${server.port:8080}")
private int port = 8080; private int port = 8080;
......
...@@ -92,7 +92,7 @@ public abstract class AbstractSpringBootTestWebServerWebEnvironmentTests { ...@@ -92,7 +92,7 @@ public abstract class AbstractSpringBootTestWebServerWebEnvironmentTests {
WebApplicationContextUtils.getWebApplicationContext(this.servletContext)); WebApplicationContextUtils.getWebApplicationContext(this.servletContext));
} }
protected static class AbstractConfig { protected static abstract class AbstractConfig {
@Value("${server.port:8080}") @Value("${server.port:8080}")
private int port = 8080; private int port = 8080;
......
...@@ -43,7 +43,7 @@ import org.springframework.util.FileCopyUtils; ...@@ -43,7 +43,7 @@ import org.springframework.util.FileCopyUtils;
* *
* @author Andy Wilkinson * @author Andy Wilkinson
*/ */
public class AbstractExecutableArchiveLauncherTests { public abstract class AbstractExecutableArchiveLauncherTests {
@Rule @Rule
public TemporaryFolder temp = new TemporaryFolder(); public TemporaryFolder temp = new TemporaryFolder();
......
...@@ -37,7 +37,7 @@ import org.springframework.util.Assert; ...@@ -37,7 +37,7 @@ import org.springframework.util.Assert;
* @author Brian Clozel * @author Brian Clozel
* @since 2.0.0 * @since 2.0.0
*/ */
public class AbstractConfigurableWebServerFactory public abstract class AbstractConfigurableWebServerFactory
implements ConfigurableWebServerFactory { implements ConfigurableWebServerFactory {
private int port = 8080; private int port = 8080;
......
...@@ -1277,7 +1277,7 @@ public class SpringApplicationTests { ...@@ -1277,7 +1277,7 @@ public class SpringApplicationTests {
} }
static class AbstractTestRunner implements ApplicationContextAware, Ordered { static abstract class AbstractTestRunner implements ApplicationContextAware, Ordered {
private final String[] expectedBefore; private final String[] expectedBefore;
......
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