Skip to content

Commit

Permalink
REBASE: debugging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
minhn02 committed Mar 6, 2019
1 parent c9f38fe commit ce237c5
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,11 @@ private void execute(Request request) {
Class subsystem = request.getSubsystem();

if (conflicts.isEmpty() || request.getParallelConflict() != null) {
if (request.getParallelConflict() != null && request.getParallelConflict().canOverrideConflict(subsystemMap.get(request.getParallelConflict().getOriginSubsystem()),
subsystemMap.get(request.getParallelConflict().getConflictingSubsystem()))) {
if (request.getParallelConflict() != null
&& request.getParallelConflict().canOverrideConflict(subsystemMap.get(request.getParallelConflict().getOriginSubsystem()),
subsystemMap.get(request.getParallelConflict().getConflictingSubsystem()))
&& request.getParallelConflict().isRequestConflicting(request, subsystemMap.get(request.getParallelConflict().getConflictingSubsystem()).getCurrentCondition(),
subsystemMap.get(request.getParallelConflict().getOriginSubsystem()).getCurrentCondition())) {
Conflict parallelConflict = request.getParallelConflict();
logger.debug("Executing parallel Conflict [{}]", parallelConflict.getName());
Condition requestedParallelCondition = parallelConflict.getOriginParallelResolution(subsystemMap.get(parallelConflict.getOriginSubsystem()),
Expand Down

0 comments on commit ce237c5

Please sign in to comment.