Adrian Crum wrote: > Or better yet, overload the method so you don't need all those > conditionals.
If the type of the object in the calling method is Object, then it
won't call the overloaded method.
However, this is better:
if (object instanceof String) {
return UtilValidate.isEmpty((String) object);
}
