ArrayList<TransitionEvent> conflictTrace = conflictExecution.getExecutionTrace();
HashMap<Integer, ReadWriteSet> confRWFieldsMap = conflictExecution.getReadWriteFieldsMap();
// Skip if this event does not have any Read/Write set or the two events are basically the same event (number)
-- if (!confRWFieldsMap.containsKey(conflictChoice) ||
- eventChoice == conflictTrace.get(conflictChoice).getChoice()) {
- reachableEvent == conflictTrace.get(conflictChoice).getChoice()) {
++ if (!confRWFieldsMap.containsKey(conflictChoice) || eventChoice == conflictTrace.get(conflictChoice).getChoice()) {
return false;
}
// R/W set of choice/event that may have a potential conflict