mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-01 14:59:50 +00:00
Merge branch '4.1.x'
Closes gh-51885
This commit is contained in:
+1
-1
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+1
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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");
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user