Return a content-based String representation if obj is not null ; otherwise returns an empty String. Differs from #nullSafeToString(Object) in that it returns an empty String rather than "null" for a null value. @param obj the object to build a displ
(Object obj)
| 643 | * @see #nullSafeToString(Object) |
| 644 | */ |
| 645 | public static String getDisplayString(Object obj) { |
| 646 | if (obj == null) { |
| 647 | return EMPTY_STRING; |
| 648 | } |
| 649 | return nullSafeToString(obj); |
| 650 | } |
| 651 | |
| 652 | /** |
| 653 | * Determine the class name for the given object. |
nothing calls this directly
no test coverage detected