Correct @since annotation
This commit is contained in:
parent
1674c953fa
commit
54c3daaf17
|
@ -7560,7 +7560,7 @@ public class StringUtils {
|
||||||
* @param maxWidth maximum length of result String, must be at least {@code abbrevMarker.length + 1}
|
* @param maxWidth maximum length of result String, must be at least {@code abbrevMarker.length + 1}
|
||||||
* @return abbreviated String, {@code null} if null String input
|
* @return abbreviated String, {@code null} if null String input
|
||||||
* @throws IllegalArgumentException if the width is too small
|
* @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) {
|
public static String abbreviate(final String str, final String abbrevMarker, final int maxWidth) {
|
||||||
return abbreviate(str, abbrevMarker, 0, maxWidth);
|
return abbreviate(str, abbrevMarker, 0, maxWidth);
|
||||||
|
@ -7601,7 +7601,7 @@ public class StringUtils {
|
||||||
* @param maxWidth maximum length of result String, must be at least 4
|
* @param maxWidth maximum length of result String, must be at least 4
|
||||||
* @return abbreviated String, {@code null} if null String input
|
* @return abbreviated String, {@code null} if null String input
|
||||||
* @throws IllegalArgumentException if the width is too small
|
* @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) {
|
public static String abbreviate(final String str, final String abbrevMarker, int offset, final int maxWidth) {
|
||||||
if (isEmpty(str) || isEmpty(abbrevMarker)) {
|
if (isEmpty(str) || isEmpty(abbrevMarker)) {
|
||||||
|
|
Loading…
Reference in New Issue