Updating README.md file to update doc as suggested in issue#925 (#926)
This commit is contained in:
		
				
					committed by
					
						 Ilkka Seppälä
						Ilkka Seppälä
					
				
			
			
				
	
			
			
			
						parent
						
							019abc9980
						
					
				
				
					commit
					5f39f7fbf7
				
			| @@ -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(); | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user