MCPcopy Index your code
hub / github.com/davidgiven/luje / validateQuery

Method validateQuery

lib/java/net/URI.java:451–460  ·  view source on GitHub ↗
(String uri, String query, int index)

Source from the content-addressed store, hash-verified

449 }
450
451 private void validateQuery(String uri, String query, int index)
452 throws URISyntaxException {
453 try {
454 URIEncoderDecoder.validate(query, queryLegal);
455 } catch (URISyntaxException e) {
456 throw new URISyntaxException(uri, Messages.getString("luni.89", e //$NON-NLS-1$
457 .getReason()), index + e.getIndex());
458
459 }
460 }
461
462 private void validateFragment(String uri, String fragment, int index)
463 throws URISyntaxException {

Callers 1

parseURIMethod · 0.95

Calls 4

validateMethod · 0.95
getStringMethod · 0.95
getReasonMethod · 0.80
getIndexMethod · 0.80

Tested by

no test coverage detected