commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1074298 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
Date Thu, 24 Feb 2011 21:22:49 GMT
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);



Mime
View raw message