@@ -55,11 +55,7 @@ public class SimpleAsyncTaskExecutorBuilder {
55
55
private final Set <SimpleAsyncTaskExecutorCustomizer > customizers ;
56
56
57
57
public SimpleAsyncTaskExecutorBuilder () {
58
- this .virtualThreads = null ;
59
- this .threadNamePrefix = null ;
60
- this .concurrencyLimit = null ;
61
- this .taskDecorator = null ;
62
- this .customizers = null ;
58
+ this (null , null , null , null , null );
63
59
}
64
60
65
61
private SimpleAsyncTaskExecutorBuilder (Boolean virtualThreads , String threadNamePrefix , Integer concurrencyLimit ,
@@ -112,10 +108,10 @@ public SimpleAsyncTaskExecutorBuilder taskDecorator(TaskDecorator taskDecorator)
112
108
}
113
109
114
110
/**
115
- * Set the {@link SimpleAsyncTaskExecutorCustomizer TaskExecutorCustomizers } that
116
- * should be applied to the {@link SimpleAsyncTaskExecutor}. Customizers are applied
117
- * in the order that they were added after builder configuration has been applied.
118
- * Setting this value will replace any previously configured customizers.
111
+ * Set the {@link SimpleAsyncTaskExecutorCustomizer customizers } that should be
112
+ * applied to the {@link SimpleAsyncTaskExecutor}. Customizers are applied in the
113
+ * order that they were added after builder configuration has been applied. Setting
114
+ * this value will replace any previously configured customizers.
119
115
* @param customizers the customizers to set
120
116
* @return a new builder instance
121
117
* @see #additionalCustomizers(SimpleAsyncTaskExecutorCustomizer...)
@@ -126,13 +122,13 @@ public SimpleAsyncTaskExecutorBuilder customizers(SimpleAsyncTaskExecutorCustomi
126
122
}
127
123
128
124
/**
129
- * Set the {@link SimpleAsyncTaskExecutorCustomizer TaskExecutorCustomizers } that
130
- * should be applied to the {@link SimpleAsyncTaskExecutor}. Customizers are applied
131
- * in the order that they were added after builder configuration has been applied.
132
- * Setting this value will replace any previously configured customizers.
125
+ * Set the {@link SimpleAsyncTaskExecutorCustomizer customizers } that should be
126
+ * applied to the {@link SimpleAsyncTaskExecutor}. Customizers are applied in the
127
+ * order that they were added after builder configuration has been applied. Setting
128
+ * this value will replace any previously configured customizers.
133
129
* @param customizers the customizers to set
134
130
* @return a new builder instance
135
- * @see #additionalCustomizers(SimpleAsyncTaskExecutorCustomizer... )
131
+ * @see #additionalCustomizers(Iterable )
136
132
*/
137
133
public SimpleAsyncTaskExecutorBuilder customizers (
138
134
Iterable <? extends SimpleAsyncTaskExecutorCustomizer > customizers ) {
@@ -142,9 +138,9 @@ public SimpleAsyncTaskExecutorBuilder customizers(
142
138
}
143
139
144
140
/**
145
- * Add {@link SimpleAsyncTaskExecutorCustomizer TaskExecutorCustomizers } that should
146
- * be applied to the {@link SimpleAsyncTaskExecutor}. Customizers are applied in the
147
- * order that they were added after builder configuration has been applied.
141
+ * Add {@link SimpleAsyncTaskExecutorCustomizer customizers } that should be applied to
142
+ * the {@link SimpleAsyncTaskExecutor}. Customizers are applied in the order that they
143
+ * were added after builder configuration has been applied.
148
144
* @param customizers the customizers to add
149
145
* @return a new builder instance
150
146
* @see #customizers(SimpleAsyncTaskExecutorCustomizer...)
@@ -155,12 +151,12 @@ public SimpleAsyncTaskExecutorBuilder additionalCustomizers(SimpleAsyncTaskExecu
155
151
}
156
152
157
153
/**
158
- * Add {@link SimpleAsyncTaskExecutorCustomizer TaskExecutorCustomizers } that should
159
- * be applied to the {@link SimpleAsyncTaskExecutor}. Customizers are applied in the
160
- * order that they were added after builder configuration has been applied.
154
+ * Add {@link SimpleAsyncTaskExecutorCustomizer customizers } that should be applied to
155
+ * the {@link SimpleAsyncTaskExecutor}. Customizers are applied in the order that they
156
+ * were added after builder configuration has been applied.
161
157
* @param customizers the customizers to add
162
158
* @return a new builder instance
163
- * @see #customizers(SimpleAsyncTaskExecutorCustomizer... )
159
+ * @see #customizers(Iterable )
164
160
*/
165
161
public SimpleAsyncTaskExecutorBuilder additionalCustomizers (
166
162
Iterable <? extends SimpleAsyncTaskExecutorCustomizer > customizers ) {
0 commit comments