Git Repository Public Repository

RRRRHHHH_Code

URLs

Copy to Clipboard

Diff Revisions 0f75b2 ... vs 7bf57b ... for ruralHouses/src/businessLogic/BookingManager.java

Diff revisions: vs.
  @@ -65,20 +65,6 @@
65 65
66 66 }
67 67
68 - public Vector<Booking> getAllBookings(Owner ow) {
69 - Vector<Booking> books = new Vector<Booking>();
70 - for (RuralHouse rh : ow.getRuralHouses()) {
71 - Vector<Offer> off = rh.getAllOffers();
72 - for (Offer of : off) {
73 - System.out.print(of.toString());
74 - if (of.getBooking() != null) {
75 -
76 - books.add(of.getBooking());
77 - }
78 - }
79 - }
80 - return books;
81 - }
82 68
83 69 /**
84 70 * This method creates a book with a corresponding parameters