File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
acyclic-visitor/src/main/java/com/iluwatar/acyclicvisitor Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ public class Hayes extends Modem {
3838 @ Override
3939 public void accept (ModemVisitor modemVisitor ) {
4040 if (modemVisitor instanceof HayesVisitor ) {
41- ((HayesVisitor ) modemVisitor ).visit (this );
41+ ((HayesVisitor ) modemVisitor ).visit (this );
4242 } else {
43- LOGGER .info ("Only HayesVisitor is allowed to visit Hayes modem" );
43+ LOGGER .info ("Only HayesVisitor is allowed to visit Hayes modem" );
4444 }
4545
4646 }
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public class Zoom extends Modem {
3838 @ Override
3939 public void accept (ModemVisitor modemVisitor ) {
4040 if (modemVisitor instanceof ZoomVisitor ) {
41- ((ZoomVisitor ) modemVisitor ).visit (this );
41+ ((ZoomVisitor ) modemVisitor ).visit (this );
4242 } else {
4343 LOGGER .info ("Only ZoomVisitor is allowed to visit Zoom modem" );
4444 }
You can’t perform that action at this time.
0 commit comments