Skip to content

Commit

Permalink
added setMaxSize to deposit removal blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
christen90 authored and Nirus2000 committed May 23, 2024
1 parent 78175ac commit 88b2d65
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1478,6 +1478,7 @@ private void addAccountStatementTransaction_Format02()

Block depositRemovalBlock_Format02 = new Block("^[\\d]{2} [\\wä]{3,4}([\\.]{1})?[\\s]$");
type.addBlock(depositRemovalBlock_Format02);
depositRemovalBlock_Format02.setMaxSize(4);
depositRemovalBlock_Format02.set(new Transaction<AccountTransaction>()

.subject(() -> {
Expand Down Expand Up @@ -1563,6 +1564,7 @@ private void addAccountStatementTransaction_Format02()

Block depositRemovalBlock_Format03 = new Block("^[\\d]{2}[\\s]$");
type.addBlock(depositRemovalBlock_Format03);
depositRemovalBlock_Format03.setMaxSize(3);
depositRemovalBlock_Format03.set(new Transaction<AccountTransaction>()

.subject(() -> {
Expand Down

0 comments on commit 88b2d65

Please sign in to comment.