Skip to content

Commit 68cbcd0

Browse files
author
Daniel
committed
Update GHobbits.java
Make GWeather argument more clear.
1 parent 2cdc0e9 commit 68cbcd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

observer/src/main/java/com/iluwatar/generic/GHobbits.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
public class GHobbits implements Race {
66
@Override
7-
public void update(GWeather o, WeatherType weatherType) {
7+
public void update(GWeather weather, WeatherType weatherType) {
88
switch (weatherType) {
99
case COLD:
1010
System.out.println("The hobbits are shivering in the cold weather.");

0 commit comments

Comments
 (0)