diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-17 14:42:47 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-17 14:42:47 +0000 |
commit | 260b39e544c87c52f30154f0b201053817355cc4 (patch) | |
tree | 930903627c6658a65ebc0b1cd4b83df139881507 /sca-java-2.x/trunk/modules/sca-client-impl/src/main/java | |
parent | d72f554e63e65740960158c678a260160d6ed5b2 (diff) |
TUSCANY-3535: Apply patch from suthakaran sivabalan to fix warning : SCA.Client
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@935181 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/sca-client-impl/src/main/java')
-rw-r--r-- | sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryImpl2.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryImpl2.java b/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryImpl2.java index d576cc97f8..89f0d1aef5 100644 --- a/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryImpl2.java +++ b/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryImpl2.java @@ -43,7 +43,8 @@ public class SCAClientFactoryImpl2 extends SCAClientFactory { super(domainURI);
}
- @Override
+ @SuppressWarnings("unchecked")
+ @Override
public <T> T getService(Class<T> serviceInterface, String serviceName) throws NoSuchServiceException, NoSuchDomainException {
for (NodeFactory nodeFactory : NodeFactory.getNodeFactories()) {
|