private static void addToGroup(UpdatedFiles updatedFiles, HgChange change, String id) { updatedFiles .getGroupById(id) .add(change.afterFile().getFile().getAbsolutePath(), HgVcs.VCS_NAME, null); }