/src/main/java/org/htmlunit/MockWebConnection.java
final short queryStart = urlString.lastIndexOf( '?') ;
final int queryStart = urlString.lastIndexOf ( '?' ) ;
final IOException throwable = throwableMap_.get(urlString); if (throwable != null) { throw throwable; } RawResponseData rawResponse = responseMap_.get(urlString); if (rawResponse == null) { <extra_id_0> if (queryStart > -1) { urlString = urlString.substring(0, queryStart); rawResponse = responseMap_.get(urlString); } if (rawResponse == null) { rawResponse = defaultResponse_;