diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/contributions/trip-contribution/src/main/java/scatours/trip/TripImpl.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sandbox/travelsample/contributions/trip-contribution/src/main/java/scatours/trip/TripImpl.java b/sandbox/travelsample/contributions/trip-contribution/src/main/java/scatours/trip/TripImpl.java index 06aeeb2c63..224065876f 100644 --- a/sandbox/travelsample/contributions/trip-contribution/src/main/java/scatours/trip/TripImpl.java +++ b/sandbox/travelsample/contributions/trip-contribution/src/main/java/scatours/trip/TripImpl.java @@ -98,7 +98,7 @@ public class TripImpl implements Search, Book { System.out.println("Starting trip search");
try {
- this.wait(2000);
+ Thread.sleep(2000);
} catch(Exception ex){
// do nothing
}
@@ -107,6 +107,10 @@ public class TripImpl implements Search, Book { searchCallback.searchResults(searchSynch(tripLeg));
}
+ public int getPercentComplete(){
+ return 100;
+ }
+
public String book(TripItem tripItem) {
return "trip1";
}
|