We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2cdc0e9 + 68cbcd0 commit f7545ccCopy full SHA for f7545cc
observer/src/main/java/com/iluwatar/generic/GHobbits.java
@@ -4,7 +4,7 @@
4
5
public class GHobbits implements Race {
6
@Override
7
- public void update(GWeather o, WeatherType weatherType) {
+ public void update(GWeather weather, WeatherType weatherType) {
8
switch (weatherType) {
9
case COLD:
10
System.out.println("The hobbits are shivering in the cold weather.");
0 commit comments