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