Git Repository Public Repository

RRRRHHHH_Code

URLs

Copy to Clipboard

Diff Revisions e90cb4 ... vs 4bc36b ... for ruralHouses/src/domain/Owner.java

Diff revisions: vs.
  @@ -16,7 +16,7 @@
16 16
17 17 // public Owner(String name) {
18 18 // this.name = name;
19 - // ruralHouses = new Vector<RuralHouse>();
19 + // ruralHouses = new hVector<RuralHouse>();
20 20 // }
21 21
22 22 public Owner(String name, String bankAccount,String mail) {
  @@ -74,14 +74,6 @@
74 74 this.mailAccount = mailAccount;
75 75 }
76 76
77 - public Vector<Offer> getAllOffers (){
78 - Vector<Offer> offers = new Vector<Offer>();
79 - for(RuralHouse rh: this.ruralHouses){
80 - for(Offer of : rh.getAllOffers()){
81 - offers.add(of);
82 - }
83 - }
84 - return offers;
85 - }
77 +
86 78
87 79 }