Author: bayard Date: Sat Apr 9 02:16:13 2011 New Revision: 1090511 URL: http://svn.apache.org/viewvc?rev=1090511&view=rev Log: Making it explicit that the else statement expects to jump to the next iteration of the loop
Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/WordUtils.java Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/WordUtils.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/WordUtils.java?rev=1090511&r1=1090510&r2=1090511&view=diff ============================================================================== --- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/WordUtils.java (original) +++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/WordUtils.java Sat Apr 9 02:16:13 2011 @@ -479,7 +479,7 @@ public class WordUtils { buf[count++] = ch; lastWasGap = false; } else { - // ignore ch + continue; // ignore ch } } return new String(buf, 0, count);