Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating class message to correct one for elons-toy-car and bird-watcher #2733

Merged
merged 1 commit into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions exercises/concept/bird-watcher/src/main/java/BirdWatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ public BirdWatcher(int[] birdsPerDay) {
}

public int[] getLastWeek() {
throw new UnsupportedOperationException("Please implement the BirdCount.getLastWeek() method");
throw new UnsupportedOperationException("Please implement the BirdWatcher.getLastWeek() method");
}

public int getToday() {
throw new UnsupportedOperationException("Please implement the BirdCount.getToday() method");
throw new UnsupportedOperationException("Please implement the BirdWatcher.getToday() method");
}

public void incrementTodaysCount() {
throw new UnsupportedOperationException("Please implement the BirdCount.incrementTodaysCount() method");
throw new UnsupportedOperationException("Please implement the BirdWatcher.incrementTodaysCount() method");
}

public boolean hasDayWithoutBirds() {
throw new UnsupportedOperationException("Please implement the BirdCount.hasDayWithoutBirds() method");
throw new UnsupportedOperationException("Please implement the BirdWatcher.hasDayWithoutBirds() method");
}

public int getCountForFirstDays(int numberOfDays) {
throw new UnsupportedOperationException("Please implement the BirdCount.getCountForFirstDays() method");
throw new UnsupportedOperationException("Please implement the BirdWatcher.getCountForFirstDays() method");
}

public int getBusyDays() {
throw new UnsupportedOperationException("Please implement the BirdCount.getBusyDays() method");
throw new UnsupportedOperationException("Please implement the BirdWatcher.getBusyDays() method");
}
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
public class ElonsToyCar {
public static ElonsToyCar buy() {
throw new UnsupportedOperationException("Please implement the (static) RemoteControlCar.buy() method");
throw new UnsupportedOperationException("Please implement the (static) ElonsToyCar.buy() method");
}

public String distanceDisplay() {
throw new UnsupportedOperationException("Please implement the RemoteControlCar.distanceDisplay() method");
throw new UnsupportedOperationException("Please implement the ElonsToyCar.distanceDisplay() method");
}

public String batteryDisplay() {
throw new UnsupportedOperationException("Please implement the RemoteControlCar.batteryDisplay() method");
throw new UnsupportedOperationException("Please implement the ElonsToyCar.batteryDisplay() method");
}

public void drive() {
throw new UnsupportedOperationException("Please implement the RemoteControlCar.drive() method");
throw new UnsupportedOperationException("Please implement the ElonsToyCar.drive() method");
}
}