@@ -29,8 +29,8 @@ public String getLabel()
2929
3030 private void addAccountStatementTransaction ()
3131 {
32- final DocumentType type = new DocumentType ("Kontoauszug" ,
33- documentContext -> documentContext
32+ final var type = new DocumentType ("Kontoauszug" , //
33+ documentContext -> documentContext //
3434 // @formatter:off
3535 // Datum Gegenkonto Buchung Name Betrag in EUR
3636 // @formatter:on
@@ -43,7 +43,7 @@ private void addAccountStatementTransaction()
4343 // @formatter:off
4444 // 21.03.2024 AT123456789101112131 Einzahlung oDkoRVZEb TxDUxE +1 500,34
4545 // @formatter:on
46- Block depositBlock = new Block ("^[\\ d]{2}\\ .[\\ d]{2}\\ .[\\ d]{4}.*Einzahlung.* \\ +[\\ .,\\ d\\ s]+$" );
46+ var depositBlock = new Block ("^[\\ d]{2}\\ .[\\ d]{2}\\ .[\\ d]{4}.*Einzahlung.* \\ +[\\ .,\\ d\\ s]+$" );
4747 type .addBlock (depositBlock );
4848 depositBlock .set (new Transaction <AccountTransaction >()
4949
@@ -64,8 +64,7 @@ private void addAccountStatementTransaction()
6464 // 25.03.2024 AT123456789101112131 Auszahlung sUBHAKqzf vNNKxT -10,12
6565 // 28.03.2024 EE123456789101112132 Interne Belastung wMGSJi WajHthpvl -3 500,00
6666 // @formatter:on
67- Block removalBlock = new Block (
68- "^[\\ d]{2}\\ .[\\ d]{2}\\ .[\\ d]{4}.*(Auszahlung|Interne Belastung).* \\ -[\\ .,\\ d\\ s]+$" );
67+ var removalBlock = new Block ("^[\\ d]{2}\\ .[\\ d]{2}\\ .[\\ d]{4}.*(Auszahlung|Interne Belastung).* \\ -[\\ .,\\ d\\ s]+$" );
6968 type .addBlock (removalBlock );
7069 removalBlock .set (new Transaction <AccountTransaction >()
7170
@@ -85,7 +84,7 @@ private void addAccountStatementTransaction()
8584 // @formatter:off
8685 // 31.12.2024 Zinsgutschrift +99,01
8786 // @formatter:on
88- Block interestBlock = new Block ("^[\\ d]{2}\\ .[\\ d]{2}\\ .[\\ d]{4}.*Zinsgutschrift.* \\ +[\\ .,\\ d\\ s]+$" );
87+ var interestBlock = new Block ("^[\\ d]{2}\\ .[\\ d]{2}\\ .[\\ d]{4}.*Zinsgutschrift.* \\ +[\\ .,\\ d\\ s]+$" );
8988 type .addBlock (interestBlock );
9089 interestBlock .set (new Transaction <AccountTransaction >()
9190
0 commit comments