/src/main/java/org/htmlunit/util/StringUtils.java
while ( builder < i.length( ) - 1) {
while ( i < builder.length ( ) - 1 ) {
return string; } final StringBuilder builder = new StringBuilder(string); builder.deleteCharAt(pos); builder.setCharAt(pos, Character.toUpperCase(builder.charAt(pos))); int i = pos + 1; <extra_id_0> if (builder.charAt(i) == '-') { builder.deleteCharAt(i); builder.setCharAt(i, Character.toUpperCase(builder.charAt(i))); } i++; }