You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: com.avaloq.tools.ddk.xtext.builder/src/com/avaloq/tools/ddk/xtext/builder/MonitoredClusteringBuilderState.java
for (URIuri : Iterables.concat(buildData.getToBeUpdated(), buildData.getToBeDeleted())) {
844
844
// Do *not* use descriptionCopier here, we just want the EObjectDescriptions!
845
-
cache.computeIfAbsent(uri, u -> Optional.ofNullable(getResourceDescription(u)).<IResourceDescription> map(FingerprintResourceDescription::new).orElse(NULL_DESCRIPTION));
845
+
cache.computeIfAbsent(uri, u -> Optional.ofNullable(getResourceDescription(u)).<IResourceDescription> map(this::createOldStateResourceDescription).orElse(NULL_DESCRIPTION));
846
846
}
847
847
returncache;
848
848
}
849
849
850
+
/**
851
+
* Create a resource description's copy that represents the old state of a resource. Will be used to compute invalidations.
852
+
* (see 'oldDescriptions' in doUpdate(BuildData, ResourceDescriptionsData, IProgressMonitor))
853
+
*
854
+
* @param original
855
+
* original resource description, must not be {@code null}
* Save copies of existing associations for derived objects (which will be cleared in the first build phase as resource descriptions will be overwritten).
0 commit comments