summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/sca-client-impl/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-11-16 10:46:24 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-11-16 10:46:24 +0000
commit6e96ac103fa3e53ddb1cf1d7a4a9516e7c58c23b (patch)
tree49b81d02d38b91290b2244c791e4ce831c7f441d /sca-java-2.x/trunk/modules/sca-client-impl/src
parent074cc3cff2f00457318bd322a6bd58f65686ae5c (diff)
No changes just fix up some formatting
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1035579 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/sca-client-impl/src')
-rw-r--r--sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryImpl2.java25
1 files changed, 13 insertions, 12 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 1cdfa2b347..3734fcfde2 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
@@ -48,19 +48,20 @@ public class SCAClientFactoryImpl2 extends SCAClientFactory {
private void checkDomainURI(URI domainURI) throws NoSuchDomainException {
// Check for local node
String domainName = getDomainName();
- for ( NodeFactory nodeFactory : NodeFactory.getNodeFactories()) {
- List<Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodesInDomain(domainName);
- if ( !nodes.isEmpty() )
- return;
- }
-
- // Check for remote node
- SCAClientHandler handler = new SCAClientHandler(domainName, null, null);
- handler.checkDomain();
- }
+ for ( NodeFactory nodeFactory : NodeFactory.getNodeFactories()) {
+ List<Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodesInDomain(domainName);
+ if ( !nodes.isEmpty() ) {
+ return;
+ }
+ }
+
+ // Check for remote node
+ SCAClientHandler handler = new SCAClientHandler(domainName, null, null);
+ handler.checkDomain();
+ }
- @SuppressWarnings("unchecked")
- @Override
+ @SuppressWarnings("unchecked")
+ @Override
public <T> T getService(Class<T> serviceInterface, String serviceName) throws NoSuchServiceException, NoSuchDomainException {
boolean foundDomain = false;