From 5f39f7fbf71fd2799bb48384fc79efc4aba8e1ea Mon Sep 17 00:00:00 2001 From: Hemant Bothra Date: Fri, 20 Sep 2019 10:38:43 +0530 Subject: [PATCH] Updating README.md file to update doc as suggested in issue#925 (#926) --- adapter/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/adapter/README.md b/adapter/README.md index e943baba5..03334bf18 100644 --- a/adapter/README.md +++ b/adapter/README.md @@ -56,15 +56,14 @@ public class FishingBoat { And captain expects an implementation of `RowingBoat` interface to be able to move ```java -public class Captain implements RowingBoat { +public class Captain { private RowingBoat rowingBoat; - + // default constructor and setter for rowingBoat public Captain(RowingBoat rowingBoat) { this.rowingBoat = rowingBoat; } - @Override public void row() { rowingBoat.row(); }