File tree Expand file tree Collapse file tree
src/org/rascalmpl/uri/file Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,15 +89,15 @@ private static ISourceLocation inferMavenRepositoryLocation() throws URISyntaxEx
8989 }
9090
9191 /**
92- * @param input mvn://groupid! artifactId! version/path
92+ * @param input mvn://groupid-- artifactId-- version/path
9393 * @return a file:/// reference to the jar file that is designated by the authority.
9494 * @throws IOException when the authority does not designate a jar file
9595 */
9696 private ISourceLocation resolveJar (ISourceLocation input ) throws IOException {
9797 String authority = input .getAuthority ();
9898
9999 if (authority .isEmpty ()) {
100- throw new IOException ("missing mvn://groupid! artifactId! version/ as the authority in " + input );
100+ throw new IOException ("missing mvn://groupid-- artifactId-- version/ as the authority in " + input );
101101 }
102102
103103 var parts = authority .split (GROUP_ARTIFACT_VERSION_SEPARATOR );
@@ -124,7 +124,7 @@ private ISourceLocation resolveJar(ISourceLocation input) throws IOException {
124124 return URIUtil .getChildLocation (root , jarPath );
125125 }
126126 else {
127- throw new IOException ("Pattern mvn:/// groupId! artifactId! version did not match on " + input );
127+ throw new IOException ("Pattern mvn://groupId-- artifactId-- version did not match on " + input );
128128 }
129129 }
130130
You can’t perform that action at this time.
0 commit comments