butterfly icon indicating copy to clipboard operation
butterfly copied to clipboard

Rename field validation methods in TransformationUtility class

Open fabiocarvalho777 opened this issue 6 years ago • 0 comments

In TransformationUtility class, rename:

  • checkForBlankString to validateMandatoryString
  • checkForEmptyString to validateOptionalString
  • checkForNull to validateMandatoryObject

Also, validateOptionalString method should return a String, which must be:

  • null, if the property value is an empty String or null
  • the actual value, if the property value is not null neither an empty String

fabiocarvalho777 avatar Nov 03 '17 23:11 fabiocarvalho777