Added some white space and make bank reset loop once

This commit is contained in:
Willem Cazander 2025-01-16 16:22:56 +01:00
parent aa6f12f336
commit c2371ebaa3

View file

@ -285,7 +285,7 @@ public class FourCornerZionStenoLexer {
class StenoScannerNCR18 extends StenoScanner {
private final int denominatorBank[] = new int[64]; // <== is the terminator select per 9 bit group
private final int numeratorBank[] = new int[64];
private final int numeratorBank[] = new int[denominatorBank.length];
public StenoScannerNCR18() {
super(FourCornerDotCake.FC_NCR1632_XD.getStart(), FourCornerDotCake.FC_NCR1632_XN.getStop());
@ -345,8 +345,6 @@ public class FourCornerZionStenoLexer {
private void bankReset() {
for (int i = 0; i < denominatorBank.length; i++) {
denominatorBank[i] = 0;
}
for (int i=0;i<numeratorBank.length;i++) {
numeratorBank[i] = 0;
}
}