Javadoc fix for LANG-1064.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1639624 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Duncan Jones 2014-11-14 12:49:15 +00:00
parent 635e41ea18
commit 2afdf4d05e
2 changed files with 3 additions and 2 deletions

View File

@ -22,6 +22,7 @@
<body>
<release version="3.4" date="tba" description="tba">
<action issue="LANG-1064" type="fix" dev="djones" due-to="B.J. Herbison">StringUtils.abbreviate description doesn't agree with the examples</action>
<action issue="LANG-1052" type="add" dev="britter" due-to="Jan Matèrne">Multiline recursive to string style</action>
<action issue="LANG-536" type="add" dev="djones" due-to="James Sawle">Add isSorted() to ArrayUtils</action>
<action issue="LANG-1041" type="fix" dev="britter" due-to="Alexandre Bartel">Fix MethodUtilsTest so it does not depend on JDK method ordering</action>

View File

@ -6358,8 +6358,8 @@ public class StringUtils {
*
* <p>Specifically:</p>
* <ul>
* <li>If {@code str} is less than {@code maxWidth} characters
* long, return it.</li>
* <li>If the number of characters in {@code str} is less than or equal to
* {@code maxWidth}, return {@code str}.</li>
* <li>Else abbreviate it to {@code (substring(str, 0, max-3) + "...")}.</li>
* <li>If {@code maxWidth} is less than {@code 4}, throw an
* {@code IllegalArgumentException}.</li>