修复打错的代码

This commit is contained in:
FormatFa 2020-05-29 20:50:08 +08:00
parent 1392056d73
commit c3ae1f5a6e

View File

@ -82,7 +82,7 @@ public interface Observer {
public class StatisticsDisplay implements Observer { public class StatisticsDisplay implements Observer {
public StatisticsDisplay(Subject weatherData) { public StatisticsDisplay(Subject weatherData) {
weatherData.reisterObserver(this); weatherData.registerObserver(this);
} }
@Override @Override