Skip to content

Commit

Permalink
Backport polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Sep 13, 2023
1 parent c892ce5 commit 4ca7025
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -911,10 +911,10 @@ public static String nullSafeToString(@Nullable short[] array) {
* <p>Returns:
* <ul>
* <li>{@code "null"} if {@code obj} is {@code null}</li>
* <li>{@code"Optional.empty"} if {@code obj} is an empty {@link Optional}</li>
* <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 "Optional.empty"} if {@code obj} is an empty {@link Optional}</li>
* <li>{@code "Optional[<concise-string>]"} if {@code obj} is a non-empty {@code Optional},
* where {@code <concise-string>} is the result of invoking this method on the object
* contained in the {@code Optional}</li>
* <li>{@code "{}"} if {@code obj} is an empty array</li>
* <li>{@code "{...}"} if {@code obj} is a {@link Map} or a non-empty array</li>
* <li>{@code "[...]"} if {@code obj} is a {@link Collection}</li>
Expand Down

0 comments on commit 4ca7025

Please sign in to comment.