summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/contributions/hotel-contribution
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-06-14 21:24:55 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-06-14 21:24:55 +0000
commitd39d03641d278c217352747476fd269d4adc295f (patch)
tree960d71aeafccbb04e42e2805fd223db61f7d8867 /sandbox/travelsample/contributions/hotel-contribution
parent6222ba67f2fd06e34dde842a82e553d3280acaaa (diff)
Component name change and separate getting synch results and sending results to callback in Hotel component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@784617 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/contributions/hotel-contribution')
-rw-r--r--sandbox/travelsample/contributions/hotel-contribution/src/main/java/scatours/hotel/HotelImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sandbox/travelsample/contributions/hotel-contribution/src/main/java/scatours/hotel/HotelImpl.java b/sandbox/travelsample/contributions/hotel-contribution/src/main/java/scatours/hotel/HotelImpl.java
index 8b50d0fd6b..cb5626441a 100644
--- a/sandbox/travelsample/contributions/hotel-contribution/src/main/java/scatours/hotel/HotelImpl.java
+++ b/sandbox/travelsample/contributions/hotel-contribution/src/main/java/scatours/hotel/HotelImpl.java
@@ -115,7 +115,8 @@ public class HotelImpl implements Search, Book, HotelManagement {
}
// return available hotels
- searchCallback.searchResults(searchSynch(tripLeg));
+ TripItem[] items = searchSynch(tripLeg);
+ searchCallback.searchResults(items);
}
public int getPercentComplete(){