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