Skip to content

Commit

Permalink
fixed length
Browse files Browse the repository at this point in the history
closes jpos#458
  • Loading branch information
ar committed Dec 1, 2021
1 parent 475a0ce commit 7fb3259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jpos/src/main/java/org/jpos/iso/IFE_LLLNUM.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ public IFE_LLLNUM() {
*/
public IFE_LLLNUM(int len, String description) {
super(len, description, NullPadder.INSTANCE, EbcdicInterpreter.INSTANCE, EbcdicPrefixer.LLL);
checkLength(len, 9);
checkLength(len, 999);
}

public void setLength(int len)
{
checkLength(len, 9);
checkLength(len, 999);
super.setLength(len);
}
}

0 comments on commit 7fb3259

Please sign in to comment.