mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
consider all actually compiled sources for 'nodesBefore' calculation
GitOrigin-RevId: a0af5fd4f56c75c8b0bcec02e0451db7d59ae246
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0c40ce60cd
commit
bcd5863470
@@ -31,7 +31,7 @@ public final class DependencyGraphImpl extends GraphImpl implements DependencyGr
|
||||
@Override
|
||||
public DifferentiateResult differentiate(Delta delta) {
|
||||
|
||||
Set<Node<?, ?>> nodesBefore = Iterators.collect(Iterators.flat(Iterators.map(Iterators.flat(delta.getBaseSources(), delta.getDeletedSources()), s -> getNodes(s))), Containers.createCustomPolicySet(DiffCapable::isSame, DiffCapable::diffHashCode));
|
||||
Set<Node<?, ?>> nodesBefore = Iterators.collect(Iterators.flat(Iterators.map(Iterators.unique(Iterators.flat(Arrays.asList(delta.getBaseSources(), delta.getSources(), delta.getDeletedSources()))), s -> getNodes(s))), Containers.createCustomPolicySet(DiffCapable::isSame, DiffCapable::diffHashCode));
|
||||
Set<Node<?, ?>> nodesAfter = Iterators.collect(Iterators.flat(Iterators.map(delta.getSources(), s -> delta.getNodes(s))), Containers.createCustomPolicySet(DiffCapable::isSame, DiffCapable::diffHashCode));
|
||||
|
||||
var diffContext = new DifferentiateContext() {
|
||||
|
||||
Reference in New Issue
Block a user