Skip to content

Commit

Permalink
Update Javadoc for ObjectUtils.nullSafeConciseToString()
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Jul 6, 2023
1 parent 430a24e commit ad05b02
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -915,6 +915,10 @@ public static String nullSafeToString(@Nullable short[] array) {
* <li>{@code"Optional[<concise-string>]"} if {@code obj} is a non-empty {@code Optional},
* where {@code <concise-string>} is the result of invoking {@link #nullSafeConciseToString}
* on the object contained in the {@code Optional}</li>
* <li>{@code "{}"} if {@code obj} is an empty array or {@link Map}</li>
* <li>{@code "{...}"} if {@code obj} is a non-empty array or {@link Map}</li>
* <li>{@code "[]"} if {@code obj} is an empty {@link Collection}</li>
* <li>{@code "[...]"} if {@code obj} is a non-empty {@link Collection}</li>
* <li>{@linkplain Class#getName() Class name} if {@code obj} is a {@link Class}</li>
* <li>{@linkplain Charset#name() Charset name} if {@code obj} is a {@link Charset}</li>
* <li>{@linkplain TimeZone#getID() TimeZone ID} if {@code obj} is a {@link TimeZone}</li>
Expand Down

0 comments on commit ad05b02

Please sign in to comment.