MCPcopy Create free account
hub / github.com/davidgiven/luje / validateSsp

Method validateSsp

lib/java/net/URI.java:421–429  ·  view source on GitHub ↗
(String uri, String ssp, int index)

Source from the content-addressed store, hash-verified

419 }
420
421 private void validateSsp(String uri, String ssp, int index)
422 throws URISyntaxException {
423 try {
424 URIEncoderDecoder.validate(ssp, allLegal);
425 } catch (URISyntaxException e) {
426 throw new URISyntaxException(uri, Messages.getString("luni.86", e //$NON-NLS-1$
427 .getReason()), index + e.getIndex());
428 }
429 }
430
431 private void validateAuthority(String uri, String authority, int index)
432 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