Skip to content

Commit 9f224ff

Browse files
committed
Narrow the scope of 0e3a196 to Resource[] for array binding
See gh-15835
1 parent d6a9295 commit 9f224ff

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private static class TypeConverterConverter implements ConditionalGenericConvert
198198
@Override
199199
public Set<ConvertiblePair> getConvertibleTypes() {
200200
return Set.of(new ConvertiblePair(String.class, Object.class),
201-
new ConvertiblePair(String.class, Object[].class),
201+
new ConvertiblePair(String.class, Resource[].class),
202202
new ConvertiblePair(String.class, Collection.class));
203203
}
204204

0 commit comments

Comments
 (0)