From c3ae1f5a6e76d9a399bfe817588ea7e51683c082 Mon Sep 17 00:00:00 2001 From: FormatFa <1758759399@qq.com> Date: Fri, 29 May 2020 20:50:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E9=94=99=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/notes/设计模式 - 观察者.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/notes/设计模式 - 观察者.md b/docs/notes/设计模式 - 观察者.md index 1b505d74..1f581dcf 100644 --- a/docs/notes/设计模式 - 观察者.md +++ b/docs/notes/设计模式 - 观察者.md @@ -82,7 +82,7 @@ public interface Observer { public class StatisticsDisplay implements Observer { public StatisticsDisplay(Subject weatherData) { - weatherData.reisterObserver(this); + weatherData.registerObserver(this); } @Override