updates
This commit is contained in:
@@ -119,7 +119,7 @@ final class DataRepository {
|
||||
case "CabinReservation":
|
||||
jsonReader.beginObject();
|
||||
name = jsonReader.nextName();
|
||||
CabinReservation cabin = new CabinReservation();
|
||||
CabinReservation cabin = new CabinReservation(ad);
|
||||
cabin.setMailing_address(ad);
|
||||
cabin.setPhysical_address(ad);
|
||||
cabin.reservation_number = jsonReader.nextString();
|
||||
@@ -127,7 +127,7 @@ final class DataRepository {
|
||||
case "HouseReservation":
|
||||
jsonReader.beginObject();
|
||||
name = jsonReader.nextName();
|
||||
HouseReservation house = new HouseReservation();
|
||||
HouseReservation house = new HouseReservation(ad);
|
||||
house.setMailing_address(ad);
|
||||
house.setPhysical_address(ad);
|
||||
house.reservation_number = jsonReader.nextString();
|
||||
@@ -136,7 +136,7 @@ final class DataRepository {
|
||||
case "HotelReservation":
|
||||
jsonReader.beginObject();
|
||||
name = jsonReader.nextName();
|
||||
HotelReservation hotel = new HotelReservation();
|
||||
HotelReservation hotel = new HotelReservation(ad);
|
||||
hotel.setMailing_address(ad);
|
||||
hotel.setPhysical_address(ad);
|
||||
hotel.reservation_number = jsonReader.nextString();
|
||||
|
||||
Reference in New Issue
Block a user