mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-09-02 14:20:28 +00:00
Merge pull request #1494 from nahteb/fix-typo
Fix typo in README for Observer pattern
This commit is contained in:
+1
-1
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user