From 07925af8b6b0f11c39ca70db732951e79728c77b Mon Sep 17 00:00:00 2001 From: bdemsky Date: Thu, 16 Jul 2009 10:12:18 +0000 Subject: [PATCH] changes --- .../Benchmarks/SingleTM/Vacation/Customer.java | 4 +--- .../Benchmarks/SingleTM/Vacation/Vacation.java | 15 ++++++++------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Robust/src/Benchmarks/SingleTM/Vacation/Customer.java b/Robust/src/Benchmarks/SingleTM/Vacation/Customer.java index f9f0ce2a..22daf531 100644 --- a/Robust/src/Benchmarks/SingleTM/Vacation/Customer.java +++ b/Robust/src/Benchmarks/SingleTM/Vacation/Customer.java @@ -106,9 +106,7 @@ public class Customer { * ============================================================================= */ boolean customer_addReservationInfo (int type, int id, int price) { - Reservation reservationInfoPtr; - - reservationInfoPtr = new Reservation(type, id, price); + Reservation_Info reservationInfoPtr= new Reservation_Info(type, id, price); // assert(reservationInfoPtr != NULL); return reservationInfoListPtr.insert(reservationInfoPtr); diff --git a/Robust/src/Benchmarks/SingleTM/Vacation/Vacation.java b/Robust/src/Benchmarks/SingleTM/Vacation/Vacation.java index 67f8675a..d3b680fe 100644 --- a/Robust/src/Benchmarks/SingleTM/Vacation/Vacation.java +++ b/Robust/src/Benchmarks/SingleTM/Vacation/Vacation.java @@ -129,17 +129,17 @@ public class Vacation { for(int i=0;i