Skip to content

Commit b051719

Browse files
authored
Update README.md
1 parent 1a7b355 commit b051719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private static void testPrototype() {
141141
```
142142

143143
### [Adapter Pattern]
144-
- For example, you watch videos by [Computer] and [Blu_ray_disc_player] as a [Monitor] goes HDMI or VGA. Assuming both [Computer] and [Blu_ray_disc_player] do the same thing (display something), you connect your video player to the correct slot with [CableAdapter], a adapter.
144+
- For example, you watch videos by [Computer] and [Blu_ray_disc_player] as a [Monitor] goes HDMI or VGA. Assuming both [Computer] and [Blu_ray_disc_player] do the same thing (display something), you connect your video player to the correct slot with [CableAdapter].
145145
- Create a [MediaPlayer] interface, implemented by [Computer], [Blu_ray_disc_player] and [CableAdapter]. And when you call the method play() in Computer and Blu_ray_disc_player, it calls play() in CableAdapter clas to switch monitors.
146146

147147
```Java

0 commit comments

Comments
 (0)