MCPcopy Create free account
hub / github.com/jwtk/jjwt / getDisplayString

Method getDisplayString

api/src/main/java/io/jsonwebtoken/lang/Objects.java:645–650  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

nullSafeToStringMethod · 0.95

Tested by

no test coverage detected