summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/travelsample/chapter-01/src/main/java/client/TripClient.java1
-rw-r--r--sandbox/travelsample/chapter-05/node/src/main/java/scatours/LaunchNode.java1
-rw-r--r--sandbox/travelsample/chapter-06/payment-javascript-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java3
-rw-r--r--sandbox/travelsample/chapter-09/node/src/main/java/scatours/LaunchNode.java1
-rw-r--r--sandbox/travelsample/chapter-09/payment-contribution/src/test/java/payment/PaymentTestCase.java6
-rw-r--r--sandbox/travelsample/chapter-09/payment-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java3
-rw-r--r--sandbox/travelsample/shared-contributions/calendar-contribution/src/main/java/calendar/CalendarImpl.java3
-rw-r--r--sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/Book.java4
-rw-r--r--sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/Search.java2
-rw-r--r--sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/SearchCallback.java3
-rw-r--r--sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/TripItem.java1
-rw-r--r--sandbox/travelsample/shared-contributions/creditcard-payment-jaxb-contribution/src/main/java/payment/creditcard/CreditCardPaymentImpl.java3
-rw-r--r--sandbox/travelsample/shared-contributions/emailgateway-contribution/src/test/java/scatours/emailgateway/EmailGatewayTestCase.java1
-rw-r--r--sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java3
-rw-r--r--sandbox/travelsample/shared-contributions/scatours-contribution/src/main/java/scatours/SCAToursCart.java1
-rw-r--r--sandbox/travelsample/shared-contributions/scatours-contribution/src/main/java/scatours/SCAToursImpl.java4
-rw-r--r--sandbox/travelsample/shared-contributions/shoppingcart-contribution/src/main/java/scatours/shoppingcart/ShoppingCartImpl.java6
-rw-r--r--sandbox/travelsample/shared-contributions/travelcatalog-contribution/src/main/java/scatours/travelcatalog/TravelCatalogImpl.java5
-rw-r--r--sandbox/travelsample/shared-contributions/tripbooking-contribution/src/main/java/scatours/tripbooking/TripBooking.java4
-rw-r--r--sandbox/travelsample/shared-contributions/tripbooking-contribution/src/main/java/scatours/tripbooking/TripBookingImpl.java12
20 files changed, 0 insertions, 67 deletions
diff --git a/sandbox/travelsample/chapter-01/src/main/java/client/TripClient.java b/sandbox/travelsample/chapter-01/src/main/java/client/TripClient.java
index 6cb33b9577..f221ac9106 100644
--- a/sandbox/travelsample/chapter-01/src/main/java/client/TripClient.java
+++ b/sandbox/travelsample/chapter-01/src/main/java/client/TripClient.java
@@ -22,7 +22,6 @@ import org.apache.tuscany.sca.node.SCAClient;
import org.apache.tuscany.sca.node.SCANode;
import org.apache.tuscany.sca.node.SCANodeFactory;
-
import trip.Trip;
/**
diff --git a/sandbox/travelsample/chapter-05/node/src/main/java/scatours/LaunchNode.java b/sandbox/travelsample/chapter-05/node/src/main/java/scatours/LaunchNode.java
index e78b387f6f..6b1c673579 100644
--- a/sandbox/travelsample/chapter-05/node/src/main/java/scatours/LaunchNode.java
+++ b/sandbox/travelsample/chapter-05/node/src/main/java/scatours/LaunchNode.java
@@ -24,7 +24,6 @@ import java.io.IOException;
import org.apache.tuscany.sca.node.SCAContribution;
import org.apache.tuscany.sca.node.SCANode;
import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.apache.tuscany.sca.node.launcher.NodeLauncher;
public class LaunchNode {
public static void main(String[] args) throws Exception {
diff --git a/sandbox/travelsample/chapter-06/payment-javascript-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java b/sandbox/travelsample/chapter-06/payment-javascript-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java
index 0f2cd87dbc..ac05bf7359 100644
--- a/sandbox/travelsample/chapter-06/payment-javascript-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java
+++ b/sandbox/travelsample/chapter-06/payment-javascript-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java
@@ -21,9 +21,6 @@ package payment.creditcard;
import org.osoa.sca.annotations.Service;
-import payment.creditcard.CreditCardDetailsType;
-import payment.creditcard.CreditCardPayment;
-
@Service(CreditCardPayment.class)
public class CreditCardPaymentImpl implements CreditCardPayment {
diff --git a/sandbox/travelsample/chapter-09/node/src/main/java/scatours/LaunchNode.java b/sandbox/travelsample/chapter-09/node/src/main/java/scatours/LaunchNode.java
index 2e9685ee67..7ed9b0d126 100644
--- a/sandbox/travelsample/chapter-09/node/src/main/java/scatours/LaunchNode.java
+++ b/sandbox/travelsample/chapter-09/node/src/main/java/scatours/LaunchNode.java
@@ -24,7 +24,6 @@ import java.io.IOException;
import org.apache.tuscany.sca.node.SCAContribution;
import org.apache.tuscany.sca.node.SCANode;
import org.apache.tuscany.sca.node.SCANodeFactory;
-import org.apache.tuscany.sca.node.launcher.NodeLauncher;
public class LaunchNode {
public static void main(String[] args) throws Exception {
diff --git a/sandbox/travelsample/chapter-09/payment-contribution/src/test/java/payment/PaymentTestCase.java b/sandbox/travelsample/chapter-09/payment-contribution/src/test/java/payment/PaymentTestCase.java
index ffdaf73ef8..21bf6ff428 100644
--- a/sandbox/travelsample/chapter-09/payment-contribution/src/test/java/payment/PaymentTestCase.java
+++ b/sandbox/travelsample/chapter-09/payment-contribution/src/test/java/payment/PaymentTestCase.java
@@ -24,14 +24,8 @@ import org.apache.tuscany.sca.node.SCANode;
import org.apache.tuscany.sca.node.SCANodeFactory;
import org.junit.AfterClass;
import org.junit.BeforeClass;
-import org.junit.Ignore;
import org.junit.Test;
-import payment.creditcard.CreditCardDetailsType;
-import payment.creditcard.CreditCardTypeType;
-import payment.creditcard.ObjectFactory;
-import payment.creditcard.PayerType;
-
/**
*
*/
diff --git a/sandbox/travelsample/chapter-09/payment-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java b/sandbox/travelsample/chapter-09/payment-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java
index 450485e466..b7d44c1abe 100644
--- a/sandbox/travelsample/chapter-09/payment-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java
+++ b/sandbox/travelsample/chapter-09/payment-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java
@@ -21,9 +21,6 @@ package payment.creditcard;
import org.osoa.sca.annotations.Service;
-import payment.creditcard.CreditCardDetailsType;
-import payment.creditcard.CreditCardPayment;
-
/**
*
*/
diff --git a/sandbox/travelsample/shared-contributions/calendar-contribution/src/main/java/calendar/CalendarImpl.java b/sandbox/travelsample/shared-contributions/calendar-contribution/src/main/java/calendar/CalendarImpl.java
index 343926da65..5aee34431c 100644
--- a/sandbox/travelsample/shared-contributions/calendar-contribution/src/main/java/calendar/CalendarImpl.java
+++ b/sandbox/travelsample/shared-contributions/calendar-contribution/src/main/java/calendar/CalendarImpl.java
@@ -20,9 +20,6 @@ package calendar;
import java.text.DateFormat;
import java.util.Date;
-import java.util.TimeZone;
-import java.util.logging.Level;
-import java.util.logging.Logger;
/**
* An implementation of the Add service
diff --git a/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/Book.java b/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/Book.java
index f42db4341b..630ba1dfe5 100644
--- a/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/Book.java
+++ b/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/Book.java
@@ -19,10 +19,6 @@
package scatours.common;
-import java.util.List;
-
-import org.osoa.sca.annotations.Callback;
-import org.osoa.sca.annotations.OneWay;
import org.osoa.sca.annotations.Remotable;
@Remotable
diff --git a/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/Search.java b/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/Search.java
index 705753972e..67335e72dc 100644
--- a/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/Search.java
+++ b/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/Search.java
@@ -19,8 +19,6 @@
package scatours.common;
-import java.util.List;
-
import org.osoa.sca.annotations.Callback;
import org.osoa.sca.annotations.OneWay;
import org.osoa.sca.annotations.Remotable;
diff --git a/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/SearchCallback.java b/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/SearchCallback.java
index 4bc88fd623..7c3a0ed45c 100644
--- a/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/SearchCallback.java
+++ b/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/SearchCallback.java
@@ -19,9 +19,6 @@
package scatours.common;
-import java.util.List;
-
-import org.apache.tuscany.sca.data.collection.Item;
import org.osoa.sca.annotations.Remotable;
@Remotable
diff --git a/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/TripItem.java b/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/TripItem.java
index e991668cbc..1fd78c8dd5 100644
--- a/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/TripItem.java
+++ b/sandbox/travelsample/shared-contributions/common-contribution/src/main/java/scatours/common/TripItem.java
@@ -19,7 +19,6 @@
package scatours.common;
-import java.util.List;
public class TripItem {
diff --git a/sandbox/travelsample/shared-contributions/creditcard-payment-jaxb-contribution/src/main/java/payment/creditcard/CreditCardPaymentImpl.java b/sandbox/travelsample/shared-contributions/creditcard-payment-jaxb-contribution/src/main/java/payment/creditcard/CreditCardPaymentImpl.java
index 450485e466..b7d44c1abe 100644
--- a/sandbox/travelsample/shared-contributions/creditcard-payment-jaxb-contribution/src/main/java/payment/creditcard/CreditCardPaymentImpl.java
+++ b/sandbox/travelsample/shared-contributions/creditcard-payment-jaxb-contribution/src/main/java/payment/creditcard/CreditCardPaymentImpl.java
@@ -21,9 +21,6 @@ package payment.creditcard;
import org.osoa.sca.annotations.Service;
-import payment.creditcard.CreditCardDetailsType;
-import payment.creditcard.CreditCardPayment;
-
/**
*
*/
diff --git a/sandbox/travelsample/shared-contributions/emailgateway-contribution/src/test/java/scatours/emailgateway/EmailGatewayTestCase.java b/sandbox/travelsample/shared-contributions/emailgateway-contribution/src/test/java/scatours/emailgateway/EmailGatewayTestCase.java
index 1e5a511db1..1dfaf14eb0 100644
--- a/sandbox/travelsample/shared-contributions/emailgateway-contribution/src/test/java/scatours/emailgateway/EmailGatewayTestCase.java
+++ b/sandbox/travelsample/shared-contributions/emailgateway-contribution/src/test/java/scatours/emailgateway/EmailGatewayTestCase.java
@@ -24,7 +24,6 @@ import org.apache.tuscany.sca.node.SCANode;
import org.apache.tuscany.sca.node.SCANodeFactory;
import org.junit.AfterClass;
import org.junit.BeforeClass;
-import org.junit.Ignore;
import org.junit.Test;
/**
diff --git a/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java b/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java
index 0f2cd87dbc..ac05bf7359 100644
--- a/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java
+++ b/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/java/payment/creditcard/CreditCardPaymentImpl.java
@@ -21,9 +21,6 @@ package payment.creditcard;
import org.osoa.sca.annotations.Service;
-import payment.creditcard.CreditCardDetailsType;
-import payment.creditcard.CreditCardPayment;
-
@Service(CreditCardPayment.class)
public class CreditCardPaymentImpl implements CreditCardPayment {
diff --git a/sandbox/travelsample/shared-contributions/scatours-contribution/src/main/java/scatours/SCAToursCart.java b/sandbox/travelsample/shared-contributions/scatours-contribution/src/main/java/scatours/SCAToursCart.java
index 61e32ec4a2..74755f5e32 100644
--- a/sandbox/travelsample/shared-contributions/scatours-contribution/src/main/java/scatours/SCAToursCart.java
+++ b/sandbox/travelsample/shared-contributions/scatours-contribution/src/main/java/scatours/SCAToursCart.java
@@ -18,7 +18,6 @@
*/
package scatours;
-import org.osoa.sca.annotations.Conversational;
import org.osoa.sca.annotations.Remotable;
import scatours.common.TripItem;
diff --git a/sandbox/travelsample/shared-contributions/scatours-contribution/src/main/java/scatours/SCAToursImpl.java b/sandbox/travelsample/shared-contributions/scatours-contribution/src/main/java/scatours/SCAToursImpl.java
index a2a299d9ed..e38be75af7 100644
--- a/sandbox/travelsample/shared-contributions/scatours-contribution/src/main/java/scatours/SCAToursImpl.java
+++ b/sandbox/travelsample/shared-contributions/scatours-contribution/src/main/java/scatours/SCAToursImpl.java
@@ -18,10 +18,7 @@
*/
package scatours;
-import java.util.ArrayList;
-import java.util.Arrays;
import java.util.HashMap;
-import java.util.List;
import java.util.Map;
import java.util.UUID;
@@ -34,7 +31,6 @@ import org.osoa.sca.annotations.Service;
import scatours.common.TripItem;
import scatours.common.TripLeg;
-//import scatours.paymentprocess.PaymentProcess;
import scatours.shoppingcart.ShoppingCart;
import scatours.travelcatalog.TravelCatalogSearch;
import scatours.tripbooking.TripBooking;
diff --git a/sandbox/travelsample/shared-contributions/shoppingcart-contribution/src/main/java/scatours/shoppingcart/ShoppingCartImpl.java b/sandbox/travelsample/shared-contributions/shoppingcart-contribution/src/main/java/scatours/shoppingcart/ShoppingCartImpl.java
index feb26f4c27..5021f62715 100644
--- a/sandbox/travelsample/shared-contributions/shoppingcart-contribution/src/main/java/scatours/shoppingcart/ShoppingCartImpl.java
+++ b/sandbox/travelsample/shared-contributions/shoppingcart-contribution/src/main/java/scatours/shoppingcart/ShoppingCartImpl.java
@@ -19,22 +19,16 @@
package scatours.shoppingcart;
import java.util.ArrayList;
-import java.util.HashMap;
import java.util.List;
-import java.util.Map;
-
import org.osoa.sca.annotations.ConversationID;
import org.osoa.sca.annotations.Destroy;
import org.osoa.sca.annotations.Init;
import org.osoa.sca.annotations.Reference;
-
import org.osoa.sca.annotations.Scope;
import org.osoa.sca.annotations.Service;
import payment.Payment;
-
-
import scatours.common.TripItem;
/**
diff --git a/sandbox/travelsample/shared-contributions/travelcatalog-contribution/src/main/java/scatours/travelcatalog/TravelCatalogImpl.java b/sandbox/travelsample/shared-contributions/travelcatalog-contribution/src/main/java/scatours/travelcatalog/TravelCatalogImpl.java
index 2369baaff1..4ad2c80c8f 100644
--- a/sandbox/travelsample/shared-contributions/travelcatalog-contribution/src/main/java/scatours/travelcatalog/TravelCatalogImpl.java
+++ b/sandbox/travelsample/shared-contributions/travelcatalog-contribution/src/main/java/scatours/travelcatalog/TravelCatalogImpl.java
@@ -19,14 +19,9 @@
package scatours.travelcatalog;
import java.util.ArrayList;
-import java.util.HashMap;
import java.util.List;
-import java.util.Map;
import java.util.UUID;
-import org.apache.tuscany.sca.data.collection.Entry;
-import org.apache.tuscany.sca.data.collection.NotFoundException;
-import org.osoa.sca.CallableReference;
import org.osoa.sca.ComponentContext;
import org.osoa.sca.RequestContext;
import org.osoa.sca.ServiceReference;
diff --git a/sandbox/travelsample/shared-contributions/tripbooking-contribution/src/main/java/scatours/tripbooking/TripBooking.java b/sandbox/travelsample/shared-contributions/tripbooking-contribution/src/main/java/scatours/tripbooking/TripBooking.java
index 2255b29d35..72320884e6 100644
--- a/sandbox/travelsample/shared-contributions/tripbooking-contribution/src/main/java/scatours/tripbooking/TripBooking.java
+++ b/sandbox/travelsample/shared-contributions/tripbooking-contribution/src/main/java/scatours/tripbooking/TripBooking.java
@@ -18,10 +18,6 @@
*/
package scatours.tripbooking;
-import org.osoa.sca.annotations.Conversational;
-import org.osoa.sca.annotations.Destroy;
-import org.osoa.sca.annotations.EndsConversation;
-import org.osoa.sca.annotations.Init;
import org.osoa.sca.annotations.Remotable;
import scatours.common.TripItem;
diff --git a/sandbox/travelsample/shared-contributions/tripbooking-contribution/src/main/java/scatours/tripbooking/TripBookingImpl.java b/sandbox/travelsample/shared-contributions/tripbooking-contribution/src/main/java/scatours/tripbooking/TripBookingImpl.java
index fd199fd19f..13c75de1f0 100644
--- a/sandbox/travelsample/shared-contributions/tripbooking-contribution/src/main/java/scatours/tripbooking/TripBookingImpl.java
+++ b/sandbox/travelsample/shared-contributions/tripbooking-contribution/src/main/java/scatours/tripbooking/TripBookingImpl.java
@@ -18,24 +18,12 @@
*/
package scatours.tripbooking;
-import java.util.HashMap;
-import java.util.Map;
-
-
import org.osoa.sca.ComponentContext;
-import org.osoa.sca.ServiceReference;
import org.osoa.sca.annotations.Context;
-import org.osoa.sca.annotations.ConversationID;
-import org.osoa.sca.annotations.Destroy;
-import org.osoa.sca.annotations.Init;
import org.osoa.sca.annotations.Reference;
-
-import org.osoa.sca.annotations.Scope;
import org.osoa.sca.annotations.Service;
-
import scatours.common.Book;
-import scatours.common.Search;
import scatours.common.TripItem;
import scatours.shoppingcart.ShoppingCart;