[vcs-log] minor: lambdify

This commit is contained in:
Julia Beliaeva
2016-12-13 20:53:10 +03:00
parent 2ecdd7625d
commit 09d174e647
@@ -91,12 +91,9 @@ public class VcsLogFullDetailsIndex<T> implements Disposable {
private void iterateCommitIds(int key, @NotNull Consumer<Integer> consumer) throws StorageException {
ValueContainer<T> data = myMapReduceIndex.getData(key);
data.forEach(new ValueContainer.ContainerAction<T>() {
@Override
public boolean perform(int id, T value) {
consumer.consume(id);
return true;
}
data.forEach((id, value) -> {
consumer.consume(id);
return true;
});
}