Adding these changes, to prevent null / empty string data from entering into constructor method of the actuator
Comment From: pivotal-cla
@justinbaskaran Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-cla
@justinbaskaran Thank you for signing the Contributor License Agreement!
Comment From: snicoll
@justinbaskaran thanks for the PR but I think the code is fine as it is. It is better to assign the field rather than silently ignoring null values. setDataSource can be used to set the DataSource after construction and before afterPropertiesSet is invoked.