From c6f81cfba0b8a9c73a1f44f2a8e29c015504f034 Mon Sep 17 00:00:00 2001 From: Yue Yang Date: Thu, 27 Dec 2018 16:42:02 -0800 Subject: [PATCH] =?UTF-8?q?Update=20=E8=AE=BE=E8=AE=A1=E6=A8=A1=E5=BC=8F.m?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix typo starWatching to startWatching --- docs/notes/设计模式.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/notes/设计模式.md b/docs/notes/设计模式.md index c83a888f..00af5a8c 100644 --- a/docs/notes/设计模式.md +++ b/docs/notes/设计模式.md @@ -2836,8 +2836,8 @@ public class SubSystem { System.out.println("setCD( " + cd + " )"); } - public void starWatching(){ - System.out.println("starWatching()"); + public void startWatching(){ + System.out.println("startWatching()"); } } ``` @@ -2849,7 +2849,7 @@ public class Facade { public void watchMovie() { subSystem.turnOnTV(); subSystem.setCD("a movie"); - subSystem.starWatching(); + subSystem.startWatching(); } } ```