Skip to content

Commit

Permalink
[MODEXPW-529] Fix sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Saba-Zedginidze-EPAM committed Dec 17, 2024
1 parent 86db180 commit c1d4a97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private List<ClaimCsvEntry> getClaimEntries(List<CompositePurchaseOrder> orders,
}

private String getTitleById(CompositePoLine poLine, Piece piece) {
return poLine.getIsPackage()
return Boolean.TRUE.equals(poLine.getIsPackage())
? ordersService.getTitleById(piece.getTitleId()).getTitle()
: poLine.getTitleOrPackage();
}
Expand Down

0 comments on commit c1d4a97

Please sign in to comment.