butterfly
butterfly copied to clipboard
Rename field validation methods in TransformationUtility class
In TransformationUtility
class, rename:
-
checkForBlankString
tovalidateMandatoryString
-
checkForEmptyString
tovalidateOptionalString
-
checkForNull
tovalidateMandatoryObject
Also, validateOptionalString
method should return a String, which must be:
-
null
, if the property value is an empty String ornull
- the actual value, if the property value is not
null
neither an empty String