ifNotEmpty

Create a new DefaultPropertiesPropertySource instance if the provided source is not empty.

Parameters

source

the Map source

action

the action used to consume the DefaultPropertiesPropertySource