summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authoredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2008-09-11 21:53:18 +0000
committeredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2008-09-11 21:53:18 +0000
commit4c60c728cde15e2bc3878d5447641d775c53c196 (patch)
tree0531d586ecba40aca5b2c4da81d28be0eb92875a /java
parent7f126b18c253eb59f449ac445670cd2440c36591 (diff)
Corrected Generic declaration on return type of getServiceClass method to remove a series of warnings.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@694507 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/AbstractSCATestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/AbstractSCATestCase.java b/java/sca/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/AbstractSCATestCase.java
index e0b1a79c95..aeb7918add 100644
--- a/java/sca/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/AbstractSCATestCase.java
+++ b/java/sca/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/AbstractSCATestCase.java
@@ -31,10 +31,10 @@ public abstract class AbstractSCATestCase<T> extends TestCase {
@Override
protected void setUp() throws Exception {
domain = SCADomain.newInstance(getCompositeName());
- service = (T)domain.getService(getServiceClass(), "ClientComponent");
+ service = domain.getService(getServiceClass(), "ClientComponent");
}
- abstract protected Class getServiceClass();
+ abstract protected Class<T> getServiceClass();
@Override
protected void tearDown() throws Exception {