Skip to content

Commit 864ae22

Browse files
committed
auto commit
1 parent e8bbe19 commit 864ae22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notes/设计模式 - 观察者.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public interface Observer {
8282
public class StatisticsDisplay implements Observer {
8383

8484
public StatisticsDisplay(Subject weatherData) {
85-
weatherData.reisterObserver(this);
85+
weatherData.registerObserver(this);
8686
}
8787

8888
@Override

0 commit comments

Comments
 (0)