You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2011/02/24 22:22:49 UTC

svn commit: r1074298 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java

Author: mbenson
Date: Thu Feb 24 21:22:48 2011
New Revision: 1074298

URL: http://svn.apache.org/viewvc?rev=1074298&view=rev
Log:
ws

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=1074298&r1=1074297&r2=1074298&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 Thu Feb 24 21:22:48 2011
@@ -987,7 +987,7 @@ public class StringUtils {
         int found = 0;
         int index = lastIndex ? str.length() : INDEX_NOT_FOUND;
         do {
-            if(lastIndex) {
+            if (lastIndex) {
                 index = str.lastIndexOf(searchStr, index - 1);
             } else {
                 index = str.indexOf(searchStr, index + 1);