Remove "final" keywords

Closes gh-11294
This commit is contained in:
Johnny Lim
2017-12-08 22:29:03 +09:00
committed by Stephane Nicoll
parent bd7bd6edc8
commit 6d54072e04
48 changed files with 60 additions and 60 deletions

View File

@@ -252,7 +252,7 @@ class OnClassCondition extends SpringBootCondition
private volatile ConditionOutcome[] outcomes;
private ThreadedOutcomesResolver(final OutcomesResolver outcomesResolver) {
private ThreadedOutcomesResolver(OutcomesResolver outcomesResolver) {
this.thread = new Thread(
() -> this.outcomes = outcomesResolver.resolveOutcomes());
this.thread.start();

View File

@@ -110,7 +110,7 @@ public class MessageSourceProperties {
return this.useCodeAsDefaultMessage;
}
public void setUseCodeAsDefaultMessage(final boolean useCodeAsDefaultMessage) {
public void setUseCodeAsDefaultMessage(boolean useCodeAsDefaultMessage) {
this.useCodeAsDefaultMessage = useCodeAsDefaultMessage;
}

View File

@@ -42,7 +42,7 @@ public class SendGridProperties {
return this.apiKey;
}
public void setApiKey(final String apiKey) {
public void setApiKey(String apiKey) {
this.apiKey = apiKey;
}

View File

@@ -179,7 +179,7 @@ public class WebFluxAutoConfiguration {
}
@Override
public void addFormatters(final FormatterRegistry registry) {
public void addFormatters(FormatterRegistry registry) {
for (Converter<?, ?> converter : getBeansOfType(Converter.class)) {
registry.addConverter(converter);
}

View File

@@ -411,7 +411,7 @@ public class DefaultServletWebServerFactoryCustomizer
private static class UndertowCustomizer {
protected static void customizeUndertow(final ServerProperties serverProperties,
protected static void customizeUndertow(ServerProperties serverProperties,
Environment environment, UndertowServletWebServerFactory factory) {
ServerProperties.Undertow undertowProperties = serverProperties.getUndertow();
@@ -478,7 +478,7 @@ public class DefaultServletWebServerFactoryCustomizer
private static class JettyCustomizer {
public static void customizeJetty(final ServerProperties serverProperties,
public static void customizeJetty(ServerProperties serverProperties,
Environment environment, JettyServletWebServerFactory factory) {
ServerProperties.Jetty jettyProperties = serverProperties.getJetty();
factory.setUseForwardHeaders(

View File

@@ -66,7 +66,7 @@ final class WelcomePageHandlerMapping extends AbstractUrlHandlerMapping {
applicationContext) != null;
}
private void setRootViewName(final String viewName) {
private void setRootViewName(String viewName) {
ParameterizableViewController controller = new ParameterizableViewController();
controller.setViewName(viewName);
setRootHandler(controller);

View File

@@ -172,7 +172,7 @@ public class Neo4jPropertiesTests {
}
}
public Neo4jProperties load(final boolean embeddedAvailable, String... environment) {
public Neo4jProperties load(boolean embeddedAvailable, String... environment) {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
ctx.setClassLoader(new URLClassLoader(new URL[0], getClass().getClassLoader()) {

View File

@@ -335,7 +335,7 @@ public class ArtemisAutoConfigurationTests {
checkDestination(name, true, shouldExist);
}
public void checkDestination(final String name, final boolean pubSub,
public void checkDestination(String name, final boolean pubSub,
final boolean shouldExist) {
this.jmsTemplate.execute((SessionCallback<Void>) (session) -> {
try {

View File

@@ -139,7 +139,7 @@ public class WebSocketMessagingAutoConfigurationTests {
.getField(compositeDefaultConverter, "converters");
}
private Object performStompSubscription(final String topic) throws Throwable {
private Object performStompSubscription(String topic) throws Throwable {
TestPropertyValues
.of("server.port:0", "spring.jackson.serialization.indent-output:true")
.applyTo(this.context);