Skip to content

Commit

Permalink
handling scenario 7
Browse files Browse the repository at this point in the history
  • Loading branch information
snehal-gothe committed Sep 9, 2022
1 parent d5040c8 commit 1437888
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ else if(demand.getStatus().toString().equalsIgnoreCase(Constants.ACTIVE)){
}
}
demandRequest.getDemands().removeAll(demandListToRemove);
if(demandRequest.getDemands().isEmpty()) {
return;
}
log.info("demandRequest after: "+new Gson().toJson(demandRequest));

}
Expand Down

0 comments on commit 1437888

Please sign in to comment.