MCPcopy Index your code
hub / github.com/zaproxy/zaproxy / createUrl

Method createUrl

zap/src/main/java/org/zaproxy/zap/control/AddOn.java:599–608  ·  view source on GitHub ↗
(String url)

Source from the content-addressed store, hash-verified

597 }
598
599 private URL createUrl(String url) {
600 if (url != null && !url.isEmpty()) {
601 try {
602 return new URI(url).toURL();
603 } catch (Exception e) {
604 LOGGER.warn("Invalid URL for add-on \"{}\": {}", id, url, e);
605 }
606 }
607 return null;
608 }
609
610 private static List<Lib> createLibs(List<String> libPaths) {
611 if (libPaths.isEmpty()) {

Callers 2

readZapAddOnXmlFileMethod · 0.95
AddOnMethod · 0.95

Calls 1

isEmptyMethod · 0.65

Tested by

no test coverage detected