commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r924372 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
Date Wed, 17 Mar 2010 17:17:45 GMT
Author: bayard
Date: Wed Mar 17 17:17:45 2010
New Revision: 924372

URL: http://svn.apache.org/viewvc?rev=924372&view=rev
Log:
Fixing javadoc per LANG-600. Examples already in tests. 

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=924372&r1=924371&r2=924372&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 Wed
Mar 17 17:17:45 2010
@@ -1081,9 +1081,9 @@ public class StringUtils {
      * StringUtils.lastIndexOf(null, *)          = -1
      * StringUtils.lastIndexOf(*, null)          = -1
      * StringUtils.lastIndexOf("", "")           = 0
-     * StringUtils.lastIndexOf("aabaabaa", "a")  = 0
-     * StringUtils.lastIndexOf("aabaabaa", "b")  = 2
-     * StringUtils.lastIndexOf("aabaabaa", "ab") = 1
+     * StringUtils.lastIndexOf("aabaabaa", "a")  = 7
+     * StringUtils.lastIndexOf("aabaabaa", "b")  = 4
+     * StringUtils.lastIndexOf("aabaabaa", "ab") = 5
      * StringUtils.lastIndexOf("aabaabaa", "")   = 8
      * </pre>
      *



Mime
View raw message