Skip to content

Commit 51659fe

Browse files
Updating HayesVisitor and ZoomVisitor
1 parent 04d80f0 commit 51659fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

acyclic-visitor/src/main/java/com/iluwatar/acyclicvisitor/HayesVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
/**
2626
* HayesVisitor interface
2727
*/
28-
public interface HayesVisitor {
28+
public interface HayesVisitor extends ModemVisitor {
2929
void visit(Hayes hayes);
3030
}

acyclic-visitor/src/main/java/com/iluwatar/acyclicvisitor/ZoomVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
/**
2626
* ZoomVisitor interface
2727
*/
28-
public interface ZoomVisitor {
28+
public interface ZoomVisitor extends ModemVisitor{
2929
void visit(Zoom zoom);
3030
}

0 commit comments

Comments
 (0)