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.
1 parent 2cdc0e9 commit 68cbcd0Copy full SHA for 68cbcd0
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