commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r960831 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
Date Tue, 06 Jul 2010 07:26:43 GMT
Author: bayard
Date: Tue Jul  6 07:26:43 2010
New Revision: 960831

URL: http://svn.apache.org/viewvc?rev=960831&view=rev
Log:
Javadoc fix to StringUtils.lastIndexOf(String) per LANG-631

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java?rev=960831&r1=960830&r2=960831&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java Tue
Jul  6 07:26:43 2010
@@ -1085,8 +1085,8 @@ public class StringUtils {
      * StringUtils.lastIndexOf(*, null)          = -1
      * StringUtils.lastIndexOf("", "")           = 0
      * StringUtils.lastIndexOf("aabaabaa", "a")  = 7
-     * StringUtils.lastIndexOf("aabaabaa", "b")  = 4
-     * StringUtils.lastIndexOf("aabaabaa", "ab") = 5
+     * StringUtils.lastIndexOf("aabaabaa", "b")  = 5
+     * StringUtils.lastIndexOf("aabaabaa", "ab") = 4
      * StringUtils.lastIndexOf("aabaabaa", "")   = 8
      * </pre>
      *



Mime
View raw message