diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-18 16:42:46 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-18 16:42:46 +0000 |
commit | 39d25280f018383b7012d94d8203317077d7b609 (patch) | |
tree | 708ef85d3e123824bfff36f46884cdbcc57148b6 /java | |
parent | 4ce63fe1af44864aa95907bf1e80b4b08e6413ae (diff) |
Format code and remove redundant annotation
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@745566 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r-- | java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldService.java | 4 | ||||
-rw-r--r-- | java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldServiceImpl.java | 8 |
2 files changed, 5 insertions, 7 deletions
diff --git a/java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldService.java b/java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldService.java index c8d803501d..123774b936 100644 --- a/java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldService.java +++ b/java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldService.java @@ -19,7 +19,7 @@ package sample;
public interface HelloworldService {
-
- String sayHello(String name);
+
+ String sayHello(String name);
}
diff --git a/java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldServiceImpl.java b/java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldServiceImpl.java index dc52666eab..66cef71a25 100644 --- a/java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldServiceImpl.java +++ b/java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldServiceImpl.java @@ -18,13 +18,11 @@ */
package sample;
-import org.oasisopen.sca.annotation.Service;
-@Service(HelloworldService.class)
public class HelloworldServiceImpl implements HelloworldService {
- public String sayHello(String name) {
- return "Hello " + name;
- }
+ public String sayHello(String name) {
+ return "Hello " + name;
+ }
}
|