Skip to content

Commit

Permalink
[fix] Skip processing PCS that is already conflicting #21
Browse files Browse the repository at this point in the history
  • Loading branch information
slarse committed Feb 24, 2020
1 parent ed53b9c commit 02eebc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/se/kth/spork/merge/TdmMerge.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public static <T,V> void resolveRawMerge(TStar<T,V> base, TStar<T,V> delta) {
for (Pcs<T> pcs : delta.getStar()) {
if (!delta.contains(pcs)) // was removed as otherPcs
continue;
if (delta.inStructuralConflict(pcs)) // was registered in conflict as otherPcs
continue;

if (pcs.getPredecessor() != null) {
Set<Content<T,V>> contents = delta.getContent(pcs);
Expand Down

0 comments on commit 02eebc5

Please sign in to comment.