Skip to content

Commit

Permalink
DMP-4613 Add ARM RPO check for getExtendedProductionsByMatter status
Browse files Browse the repository at this point in the history
Fixed sonar complaint
  • Loading branch information
karen-hedges committed Jan 22, 2025
1 parent 02afee2 commit dbe917d
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,9 @@ private boolean pollServiceFailed(ArmRpoExecutionDetailEntity armRpoExecutionDet
}

private boolean pollServiceInProgress(ArmRpoExecutionDetailEntity armRpoExecutionDetail) {
if (nonNull(armRpoExecutionDetail.getArmRpoState())
return nonNull(armRpoExecutionDetail.getArmRpoState())
&& ArmRpoHelper.inProgressRpoStatus().getId().equals(armRpoExecutionDetail.getArmRpoStatus().getId())
&& allowableInProgressStates.contains(armRpoExecutionDetail.getArmRpoState().getId())) {
return true;
}
return false;
&& allowableInProgressStates.contains(armRpoExecutionDetail.getArmRpoState().getId());
}

private boolean saveBackgroundSearchCompleted(ArmRpoExecutionDetailEntity armRpoExecutionDetailEntity) {
Expand Down

0 comments on commit dbe917d

Please sign in to comment.