diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-05 21:14:49 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-05 21:14:49 +0000 |
commit | 8c049462ff6387d8c3f69f4e42a4c4b36e38a90c (patch) | |
tree | 3e6b1ec1ab2e2a724d9228ca55052394c3034060 /sandbox/travelsample/launchers/feed-logger/src/main | |
parent | 68c3920fc0ba41c6a9ebf062bd41e5ebf647e51b (diff) |
Format the code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@833174 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/launchers/feed-logger/src/main/java/scatours/FeedLoggerLauncher.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sandbox/travelsample/launchers/feed-logger/src/main/java/scatours/FeedLoggerLauncher.java b/sandbox/travelsample/launchers/feed-logger/src/main/java/scatours/FeedLoggerLauncher.java index 73970b12ca..4aea24dbfe 100644 --- a/sandbox/travelsample/launchers/feed-logger/src/main/java/scatours/FeedLoggerLauncher.java +++ b/sandbox/travelsample/launchers/feed-logger/src/main/java/scatours/FeedLoggerLauncher.java @@ -31,15 +31,12 @@ import scatours.feedlogger.FeedLogger; public class FeedLoggerLauncher {
public static void main(String[] args) throws Exception {
- SCAContribution feedContribution =
- locate("feed-logger");
+ SCAContribution feedContribution = locate("feed-logger");
- SCANode node = SCANodeFactory.newInstance().createSCANode(
- "feed-logger.composite", feedContribution);
+ SCANode node = SCANodeFactory.newInstance().createSCANode("feed-logger.composite", feedContribution);
node.start();
-
- FeedLogger logger = ((SCAClient)node).getService(
- FeedLogger.class, "FeedLogger");
+
+ FeedLogger logger = ((SCAClient)node).getService(FeedLogger.class, "FeedLogger");
logger.logFeeds(5);
node.stop();
|