clearing-service fix NPE
This commit is contained in:
parent
e016cc5528
commit
8fb186f564
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ public class ExecutionDepositSorter {
|
|||
BiConsumer<ClearingCategory, Comparator<ExecutionDeposit>> additionalSorting =
|
||||
(clearingCategory, comparator) -> byCategoryByCompany
|
||||
.get(clearingCategory)
|
||||
.stream().filter(Objects::nonNull)
|
||||
.forEach(singleCompanyBatch -> singleCompanyBatch.sort(comparator));
|
||||
//применяем дополнительные сортировки
|
||||
//для V сначала Sell, потом Buy, в первую очередь должны обрабатываться новые сделки с наименьшими объемами
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue