protected String checkForTrim(String s, PropertyDescriptor prop) {
        return trimmableProperty(prop) ? s.trim() : s;
    }
protected String checkForTrim(String s, PropertyDescriptor prop) {
        return trimmableProperty(prop) ? s.trim() : s;
    }
protected String checkForTrim ( String s , PropertyDescriptor prop ) { return trimmableProperty ( prop ) ? s . trim ( ) : s ; }
Returns the trimmed value of the string only if the property the string is describing should be trimmed
to be converted to that type.

@param s    - String describing the value.
@param prop - property descriptor of the value.
@return the string passed in if the property is a string otherwise it will return the string with the
beginning and end whitespace removed.
Returns the trimmed value of the string only if the property the string is describing should be trimmed to be converted to that type .