From c35dea95a4c5e633adae0ead0a7053d0073a9e33 Mon Sep 17 00:00:00 2001 From: Willem Date: Fri, 24 Jan 2025 01:50:53 +0100 Subject: [PATCH] Also renamed the burned sand walker detection feedback methods --- .../java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java | 4 ++-- .../org/x4o/fc18/zion7/FourCornerZionStenoLexerSmoke.java | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java b/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java index 0284341..49f06ab 100644 --- a/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java +++ b/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java @@ -307,7 +307,7 @@ public class FourCornerZionStenoLexer { for (int i = idxFirst; i <= idxLast; i++) { int bitIdx = lexer.input.get(i); if (bitIdx != 0 && bitIdx < bitIdxLast) { - lexer.smokeSignals.burnSandWormSignOutOfOrder(lexer.currLine, lexer.currCol); + lexer.smokeSignals.burnSandWalkerOutOfRhythm(lexer.currLine, lexer.currCol); return; } bitIdxLast = bitIdx; @@ -337,7 +337,7 @@ public class FourCornerZionStenoLexer { } int wormHeadSize = sandwormHead.size(); if (!WORM_SIGN.contains(wormHeadSize)) { - lexer.smokeSignals.burnSandWormSignIncorrect(lexer.currLine, lexer.currCol, wormHeadSize); + lexer.smokeSignals.burnSandWalkerStepUnaligned(lexer.currLine, lexer.currCol, wormHeadSize); return; } // Sand walking signal pulses have been stamped correctly to call the worm diff --git a/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexerSmoke.java b/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexerSmoke.java index 54b8f27..1920e86 100644 --- a/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexerSmoke.java +++ b/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexerSmoke.java @@ -41,9 +41,9 @@ public interface FourCornerZionStenoLexerSmoke { void burnUNI21UnusedBigIndian(int line, int col); - void burnSandWormSignOutOfOrder(int line, int col); + void burnSandWalkerOutOfRhythm(int line, int col); - void burnSandWormSignIncorrect(int line, int col, int size); + void burnSandWalkerStepUnaligned(int line, int col, int size); interface Adapter extends FourCornerZionStenoLexerSmoke { @@ -69,11 +69,11 @@ public interface FourCornerZionStenoLexerSmoke { } @Override - default void burnSandWormSignOutOfOrder(int line, int col) { + default void burnSandWalkerOutOfRhythm(int line, int col) { } @Override - default void burnSandWormSignIncorrect(int line, int col, int size) { + default void burnSandWalkerStepUnaligned(int line, int col, int size) { } } }