If I have a configuration file (yml
or properties
) and I have a blank entry like the one below:
some.entry =
When I load that entry as a @Resource
of a given bean, like this:
@Resource(name = "someEntry")
Map<String, List<String>> someMap;
Will the someMap
end up as null
or an empty Map?
And would the behavior be different if instead of @Resource
a similar approach with @Value
is used?