From 0d2c3cadd7dc378560ef71433260495364f01bc6 Mon Sep 17 00:00:00 2001 From: vananiev Date: Tue, 5 Nov 2024 23:31:40 +0300 Subject: [PATCH] bugfix a2982ff0 --- .../parser/uralsib/CouponAmortizationRedemptionTable.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/ru/investbook/parser/uralsib/CouponAmortizationRedemptionTable.java b/src/main/java/ru/investbook/parser/uralsib/CouponAmortizationRedemptionTable.java index 88f89a8d..36ab83a8 100644 --- a/src/main/java/ru/investbook/parser/uralsib/CouponAmortizationRedemptionTable.java +++ b/src/main/java/ru/investbook/parser/uralsib/CouponAmortizationRedemptionTable.java @@ -25,7 +25,6 @@ import org.spacious_team.broker.pojo.SecurityEventCashFlow; import org.spacious_team.broker.report_parser.api.ReportTable; import org.spacious_team.broker.report_parser.api.SecurityTransaction; -import org.spacious_team.table_wrapper.api.Table; import org.spacious_team.table_wrapper.api.TableRow; import java.math.BigDecimal; @@ -37,7 +36,8 @@ import java.util.Map; import static java.util.Collections.emptyList; -import static java.util.Objects.*; +import static java.util.Objects.nonNull; +import static java.util.Objects.requireNonNull; import static ru.investbook.parser.uralsib.PaymentsTable.PaymentsTableHeader.*; @Slf4j @@ -110,7 +110,8 @@ private boolean isRedemption(String securityName, Instant amortizationDay) { return nonNull(redemptionDate) && redemptionDate.equals(LocalDate.ofInstant(amortizationDay, getReport().getReportZoneId())); } - protected BigDecimal getTax(Table table, TableRow row) { + @Override + protected BigDecimal getTax(TableRow row) { // информация о налоге по купонам облигаций не выводится в отчет брокера return BigDecimal.ZERO; }