Merge pull request #1494 from nahteb/fix-typo
Fix typo in README for Observer pattern
This commit is contained in:
commit
82bf9fdd61
@ -46,7 +46,7 @@ public class Orcs implements WeatherObserver {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void update(WeatherType currentWeather) {
|
public void update(WeatherType currentWeather) {
|
||||||
LOGGER.info("The hobbits are facing " + currentWeather.getDescription() + " weather now");
|
LOGGER.info("The orcs are facing " + currentWeather.getDescription() + " weather now");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user