Polish
Closes gh-14212
This commit is contained in:
committed by
Stephane Nicoll
parent
a86d7cdb97
commit
cf17106d8d
@@ -22,6 +22,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
* Configuration properties for task scheduling.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 2.1.0
|
||||
*/
|
||||
@ConfigurationProperties("spring.task.scheduling")
|
||||
public class TaskSchedulingProperties {
|
||||
|
||||
@@ -96,7 +96,6 @@ org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.reactor.core.ReactorCoreAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.task.TaskSchedulingAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.security.servlet.SecurityRequestMatcherProviderAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration,\
|
||||
@@ -111,6 +110,7 @@ org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2Re
|
||||
org.springframework.boot.autoconfigure.security.oauth2.resource.reactive.ReactiveOAuth2ResourceServerAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.solr.SolrAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.task.TaskSchedulingAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration,\
|
||||
org.springframework.boot.autoconfigure.transaction.jta.JtaAutoConfiguration,\
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
package org.springframework.boot.autoconfigure.task;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
@@ -158,7 +158,7 @@ public class TaskSchedulingAutoConfigurationTests {
|
||||
|
||||
static class TestBean {
|
||||
|
||||
private final Set<String> threadNames = new HashSet<>();
|
||||
private final Set<String> threadNames = ConcurrentHashMap.newKeySet();
|
||||
|
||||
@Scheduled(fixedRate = 10)
|
||||
public void accumulate() {
|
||||
|
||||
@@ -517,7 +517,7 @@ public class WebFluxAutoConfigurationTests {
|
||||
static class CustomRequestMappingHandlerAdapter {
|
||||
|
||||
@Bean
|
||||
public WebFluxRegistrations webMvcRegistrationsHandlerAdapter() {
|
||||
public WebFluxRegistrations webFluxRegistrationsHandlerAdapter() {
|
||||
return new WebFluxRegistrations() {
|
||||
|
||||
@Override
|
||||
@@ -546,7 +546,7 @@ public class WebFluxAutoConfigurationTests {
|
||||
static class CustomRequestMappingHandlerMapping {
|
||||
|
||||
@Bean
|
||||
public WebFluxRegistrations webMvcRegistrationsHandlerMapping() {
|
||||
public WebFluxRegistrations webFluxRegistrationsHandlerMapping() {
|
||||
return new WebFluxRegistrations() {
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user