Merge pull request #51 from Li4ick/patch-1

Update GHobbits.java
This commit is contained in:
Ilkka Seppälä 2015-05-02 15:06:36 +03:00
commit f7545cc903

View File

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