mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] minor: lambdify
This commit is contained in:
+3
-6
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user