diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index 67ac5d022..515d72895 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -2028,7 +2028,7 @@ public class StringUtils { * * * @param str the String to get the leftmost characters from, may be null - * @param len the length of the required String, must be zero or positive + * @param len the length of the required String * @return the leftmost characters, null if null String input */ public static String left(String str, int len) { @@ -2061,7 +2061,7 @@ public class StringUtils { * * * @param str the String to get the rightmost characters from, may be null - * @param len the length of the required String, must be zero or positive + * @param len the length of the required String * @return the rightmost characters, null if null String input */ public static String right(String str, int len) { @@ -2099,7 +2099,7 @@ public class StringUtils { * * @param str the String to get the characters from, may be null * @param pos the position to start from, negative treated as zero - * @param len the length of the required String, must be zero or positive + * @param len the length of the required String * @return the middle characters, null if null String input */ public static String mid(String str, int pos, int len) {