Narrow the scope of 0e3a196 to Resource[] for array binding

See gh-15835
This commit is contained in:
Andy Wilkinson 2023-10-16 18:18:34 +01:00
parent d6a9295c26
commit 9f224ff136

View File

@ -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));
}