Skip to content

Commit b8506ad

Browse files
authored
Updating class message to correct one for elons-toy-car and bird-watcher (#2733)
[no important files changed]
1 parent 032ab31 commit b8506ad

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

exercises/concept/bird-watcher/src/main/java/BirdWatcher.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,26 @@ public BirdWatcher(int[] birdsPerDay) {
77
}
88

99
public int[] getLastWeek() {
10-
throw new UnsupportedOperationException("Please implement the BirdCount.getLastWeek() method");
10+
throw new UnsupportedOperationException("Please implement the BirdWatcher.getLastWeek() method");
1111
}
1212

1313
public int getToday() {
14-
throw new UnsupportedOperationException("Please implement the BirdCount.getToday() method");
14+
throw new UnsupportedOperationException("Please implement the BirdWatcher.getToday() method");
1515
}
1616

1717
public void incrementTodaysCount() {
18-
throw new UnsupportedOperationException("Please implement the BirdCount.incrementTodaysCount() method");
18+
throw new UnsupportedOperationException("Please implement the BirdWatcher.incrementTodaysCount() method");
1919
}
2020

2121
public boolean hasDayWithoutBirds() {
22-
throw new UnsupportedOperationException("Please implement the BirdCount.hasDayWithoutBirds() method");
22+
throw new UnsupportedOperationException("Please implement the BirdWatcher.hasDayWithoutBirds() method");
2323
}
2424

2525
public int getCountForFirstDays(int numberOfDays) {
26-
throw new UnsupportedOperationException("Please implement the BirdCount.getCountForFirstDays() method");
26+
throw new UnsupportedOperationException("Please implement the BirdWatcher.getCountForFirstDays() method");
2727
}
2828

2929
public int getBusyDays() {
30-
throw new UnsupportedOperationException("Please implement the BirdCount.getBusyDays() method");
30+
throw new UnsupportedOperationException("Please implement the BirdWatcher.getBusyDays() method");
3131
}
3232
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
public class ElonsToyCar {
22
public static ElonsToyCar buy() {
3-
throw new UnsupportedOperationException("Please implement the (static) RemoteControlCar.buy() method");
3+
throw new UnsupportedOperationException("Please implement the (static) ElonsToyCar.buy() method");
44
}
55

66
public String distanceDisplay() {
7-
throw new UnsupportedOperationException("Please implement the RemoteControlCar.distanceDisplay() method");
7+
throw new UnsupportedOperationException("Please implement the ElonsToyCar.distanceDisplay() method");
88
}
99

1010
public String batteryDisplay() {
11-
throw new UnsupportedOperationException("Please implement the RemoteControlCar.batteryDisplay() method");
11+
throw new UnsupportedOperationException("Please implement the ElonsToyCar.batteryDisplay() method");
1212
}
1313

1414
public void drive() {
15-
throw new UnsupportedOperationException("Please implement the RemoteControlCar.drive() method");
15+
throw new UnsupportedOperationException("Please implement the ElonsToyCar.drive() method");
1616
}
1717
}

0 commit comments

Comments
 (0)