fix: download missing library more than one time
This commit is contained in:
1 parent
9c1905bb51
commit
c7e3639155
1 file changed
+4
-1
@@ -217,9 +217,12 @@ public class Version implements Comparable<Version>, Validation {
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolve given version
|
||||
* Resolve given version.
|
||||
* Resolving version will list all patches within this version and its parents,
|
||||
* which is for analysis.
|
||||
*/
|
||||
public Version resolve(VersionProvider provider) throws VersionNotFoundException {
|
||||
if (isResolved()) return this;
|
||||
return resolve(provider, new HashSet<>()).setResolved();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user