修复打错的代码
This commit is contained in:
parent
1392056d73
commit
c3ae1f5a6e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user