131132133134135136137138139
@Override public InstalledPackage fun(String s) { String[] split = s.split(" "); String name = ArrayUtil.getFirstElement(split); String version = split.length > 1 ? split[1] : ""; return new InstalledPackage(name, version); } }); }