summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldService.java4
-rw-r--r--java/sca/samples/webapps/helloworld-jsp/src/main/java/sample/HelloworldServiceImpl.java8
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;
+ }
}