@param uri @return True if the uri is a jar or an ivy coordinate
(URI uri)
| 95 | * @return True if the uri is a jar or an ivy coordinate |
| 96 | */ |
| 97 | private boolean resolvesToJar(URI uri) { |
| 98 | String scheme = uri.getScheme(); |
| 99 | return (uri.toString().endsWith("jar") || scheme != null && scheme.toLowerCase().equals("ivy")); |
| 100 | } |
| 101 | |
| 102 | } |
no test coverage detected