From 54c3daaf17f90b273cfd3dc17dac91c9e65d7b17 Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Mon, 27 Mar 2017 20:09:14 +0200 Subject: [PATCH] Correct @since annotation --- src/main/java/org/apache/commons/lang3/StringUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index 98a2d0c47..61818356b 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -7560,7 +7560,7 @@ public class StringUtils { * @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 class StringUtils { * @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)) {