28293031323334353637383940
return versions; } public List<Version> getOpenById(int[] idlist) { List<Version> listed = new ArrayList<Version>(idlist.length); Version version; for (int id : idlist) { if ((version=getById(id))!=null && version.getStatus()!=Status.CLOSED) { listed.add(version); } } return listed; }