Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void listBids() {
- Dog dog = getDogFromUser();
- Auction auction = searchInAuction(dog);
- if (dog == null || auction == null) {
- System.out.println("Error: this dog is not up for auction");
- return;
- } else {
- auction.printBidList();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement