From c544542bdad4b55b9244255235a7e34385d6405c Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Thu, 26 Aug 2010 16:36:35 +0000 Subject: [PATCH] tweak git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989812 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/lang3/StringUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index 87c3b165f..67ac5d022 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -2083,7 +2083,8 @@ public class StringUtils { *

If len characters are not available, the remainder * of the String will be returned without an exception. If the * String is null, null will be returned. - * An empty String is returned if len is negative.

+ * An empty String is returned if len is negative or exceeds the + * length of str.

* *
      * StringUtils.mid(null, *, *)    = null