174175176177178179180
@Override public void updatePackage(final @NotNull InstalledPackage repoPackage, final @Nullable String version, final @NotNull Listener listener) { installPackage(new RepoPackage(repoPackage.getName(), ""), version, false, null, listener, false); }
140141142143144145146147148
public static List<RepoPackage> wrapRepo(List<String> names) { return ContainerUtil.map(names, new Function<String, RepoPackage>() { @Override public RepoPackage fun(String s) { return new RepoPackage(s, s); } }); }