mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Narrow the scope of 0e3a196
to Resource[] for array binding
See gh-15835
This commit is contained in:
parent
d6a9295c26
commit
9f224ff136
@ -198,7 +198,7 @@ final class BindConverter {
|
||||
@Override
|
||||
public Set<ConvertiblePair> getConvertibleTypes() {
|
||||
return Set.of(new ConvertiblePair(String.class, Object.class),
|
||||
new ConvertiblePair(String.class, Object[].class),
|
||||
new ConvertiblePair(String.class, Resource[].class),
|
||||
new ConvertiblePair(String.class, Collection.class));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user