void (ChangeBrowserSettings changeBrowserSettings, @NotNull RepositoryLocation repositoryLocation, int maxCount, @NotNull AsynchConsumer<? super CommittedChangeList> consumer) { try { List<CommittedChangeList> results = getCommittedChanges(changeBrowserSettings, repositoryLocation, maxCount); for (CommittedChangeList result : results) { consumer.consume(result); } } finally { consumer.finished(); } }