Remove "final" keywords
Closes gh-11294
This commit is contained in:
committed by
Stephane Nicoll
parent
bd7bd6edc8
commit
6d54072e04
@@ -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();
|
||||
|
||||
@@ -110,7 +110,7 @@ public class MessageSourceProperties {
|
||||
return this.useCodeAsDefaultMessage;
|
||||
}
|
||||
|
||||
public void setUseCodeAsDefaultMessage(final boolean useCodeAsDefaultMessage) {
|
||||
public void setUseCodeAsDefaultMessage(boolean useCodeAsDefaultMessage) {
|
||||
this.useCodeAsDefaultMessage = useCodeAsDefaultMessage;
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ public class SendGridProperties {
|
||||
return this.apiKey;
|
||||
}
|
||||
|
||||
public void setApiKey(final String apiKey) {
|
||||
public void setApiKey(String apiKey) {
|
||||
this.apiKey = apiKey;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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()) {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user