/src/main/java/org/htmlunit/html/HtmlPage.java
if ( i2 == null) {   index2 = -1; }else {   index2 = i2.shortValue( ) ; }
[Delete]
else if (index1 > 0) { result = -1; } else if (index2 > 0) { result = 1; } <extra_id_0> result = 0; } else { result = index2 - index1; } return result;