Removed unnecessary file separator from classpath stub provider

This commit is contained in:
Marcin Grzejszczak
2018-08-09 15:45:02 +02:00
parent 0b79a5b360
commit e60eb56f2b

View File

@@ -132,11 +132,11 @@ public class ClasspathStubProvider implements StubDownloaderBuilder {
if (groupAndArtifactMatcher.matches()) {
MatchResult groupAndArtifactResult = groupAndArtifactMatcher
.toMatchResult();
return groupAndArtifactResult.group(2) + File.separator
return groupAndArtifactResult.group(2)
+ groupAndArtifactResult.group(3);
}
else {
throw new IllegalArgumentException("Illegal uri [${uri}]");
throw new IllegalArgumentException("Illegal uri [" + uri + "]");
}
}
};