X Tutup
Skip to content

Commit 5f39f7f

Browse files
hbothra15iluwatar
authored andcommitted
Updating README.md file to update doc as suggested in issue#925 (iluwatar#926)
1 parent 019abc9 commit 5f39f7f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

adapter/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,14 @@ public class FishingBoat {
5656
And captain expects an implementation of `RowingBoat` interface to be able to move
5757

5858
```java
59-
public class Captain implements RowingBoat {
59+
public class Captain {
6060

6161
private RowingBoat rowingBoat;
62-
62+
// default constructor and setter for rowingBoat
6363
public Captain(RowingBoat rowingBoat) {
6464
this.rowingBoat = rowingBoat;
6565
}
6666

67-
@Override
6867
public void row() {
6968
rowingBoat.row();
7069
}

0 commit comments

Comments
 (0)
X Tutup