Skip to content

Commit

Permalink
Formats file
Browse files Browse the repository at this point in the history
Fixes: SIRI-960
  • Loading branch information
mko-sci committed May 16, 2024
1 parent ec82e44 commit 0f1d396
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/sirius/kernel/commons/Strings.java
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,10 @@ public static String limit(@Nullable Object input, int length, boolean showEllip
/**
* Limits the length of the given string to the given length.
*
* @param input the object which string representation should be limited to the given length
* @param length the max. number of characters to return
* @param showEllipsis whether to append three dots if <tt>input</tt> is longer than <tt>length</tt>
* @param showTruncated whether to append a marker/signal if <tt>input</tt> is longer than <tt>length</tt>
* @param input the object which string representation should be limited to the given length
* @param length the max. number of characters to return
* @param showEllipsis whether to append three dots if <tt>input</tt> is longer than <tt>length</tt>
* @param showTruncated whether to append a marker/signal if <tt>input</tt> is longer than <tt>length</tt>
* @param charactersToPreserveAtTheEnd the number of characters to preserve at the end of the string
* @return a part of the string representation of the given <tt>input</tt>. If input is shorter
* than <tt>length</tt>, the full value is returned. If input is <tt>null</tt>, "" is returned.
Expand Down

0 comments on commit 0f1d396

Please sign in to comment.