mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-07 18:48:39 +00:00
Correct @since annotation
This commit is contained in:
parent
1674c953fa
commit
54c3daaf17
@ -7560,7 +7560,7 @@ public static String abbreviate(final String str, final int offset, final int ma
|
||||
* @param maxWidth maximum length of result String, must be at least {@code abbrevMarker.length + 1}
|
||||
* @return abbreviated String, {@code null} if null String input
|
||||
* @throws IllegalArgumentException if the width is too small
|
||||
* @since 3.5
|
||||
* @since 3.6
|
||||
*/
|
||||
public static String abbreviate(final String str, final String abbrevMarker, final int maxWidth) {
|
||||
return abbreviate(str, abbrevMarker, 0, maxWidth);
|
||||
@ -7601,7 +7601,7 @@ public static String abbreviate(final String str, final String abbrevMarker, fin
|
||||
* @param maxWidth maximum length of result String, must be at least 4
|
||||
* @return abbreviated String, {@code null} if null String input
|
||||
* @throws IllegalArgumentException if the width is too small
|
||||
* @since 3.5
|
||||
* @since 3.6
|
||||
*/
|
||||
public static String abbreviate(final String str, final String abbrevMarker, int offset, final int maxWidth) {
|
||||
if (isEmpty(str) || isEmpty(abbrevMarker)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user