Merge branch '4.1.x'

Closes gh-51885
This commit is contained in:
Stéphane Nicoll
2026-09-28 11:07:19 +02:00
4 changed files with 4 additions and 5 deletions
@@ -86,7 +86,7 @@ public class DockerApi {
* Create a new {@link DockerApi} instance.
*/
public DockerApi() {
this(HttpTransport.create((DockerConnectionConfiguration) null), DockerLog.toSystemOut());
this(HttpTransport.create(null), DockerLog.toSystemOut());
}
/**
@@ -178,8 +178,7 @@ public class Binder {
@Nullable Consumer<PropertyEditorRegistry> propertyEditorInitializer,
@Nullable BindHandler defaultBindHandler, @Nullable BindConstructorProvider constructorProvider) {
this(sources, placeholdersResolver,
(conversionService != null) ? Collections.singletonList(conversionService)
: (List<ConversionService>) null,
(conversionService != null) ? Collections.singletonList(conversionService) : null,
propertyEditorInitializer, defaultBindHandler, constructorProvider);
}
@@ -349,7 +349,7 @@ public class ApplicationConversionService extends FormattingConversionService {
static void addBean(FormatterRegistry registry, Object bean, @Nullable ResolvableType beanType) {
if (bean instanceof GenericConverter converterBean) {
addBean(registry, converterBean, beanType, GenericConverter.class, registry::addConverter, (Runnable) null);
addBean(registry, converterBean, beanType, GenericConverter.class, registry::addConverter, null);
}
else if (bean instanceof Converter<?, ?> converterBean) {
Assert.state(beanType != null, "beanType is missing");
@@ -63,7 +63,7 @@ public final class MaximumAllowableTagsMeterFilter implements MeterFilter {
* @param maximumTagValues the total number of tag values that are allowable
*/
public MaximumAllowableTagsMeterFilter(String meterNamePrefix, String tagKey, int maximumTagValues) {
this(meterNamePrefix, tagKey, maximumTagValues, (String) null);
this(meterNamePrefix, tagKey, maximumTagValues, null);
}
/**