java:S6857 false positive when using @Value to inject directly into a Map

Hi,

This also seems to happen when the default value is a list

 @Value("${application.animals:cat,dog}")
 private List<String> animals;
1 Like