From 864ae226ef31c6756d21084beeb14a5d181d4a70 Mon Sep 17 00:00:00 2001 From: CyC2018 Date: Mon, 2 Nov 2020 00:05:06 +0800 Subject: [PATCH] auto commit --- notes/设计模式 - 观察者.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/设计模式 - 观察者.md b/notes/设计模式 - 观察者.md index 1b505d74..1f581dcf 100644 --- a/notes/设计模式 - 观察者.md +++ b/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