You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by me...@apache.org on 2007/01/24 09:35:09 UTC

svn commit: r499310 - /incubator/tuscany/java/sca/services/discovery/jxta/src/main/java/org/apache/tuscany/service/discovery/jxta/JxtaDiscoveryService.java

Author: meerajk
Date: Wed Jan 24 00:35:09 2007
New Revision: 499310

URL: http://svn.apache.org/viewvc?view=rev&rev=499310
Log:
Remove the argument from createAndJoingGroup method.

Modified:
    incubator/tuscany/java/sca/services/discovery/jxta/src/main/java/org/apache/tuscany/service/discovery/jxta/JxtaDiscoveryService.java

Modified: incubator/tuscany/java/sca/services/discovery/jxta/src/main/java/org/apache/tuscany/service/discovery/jxta/JxtaDiscoveryService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/services/discovery/jxta/src/main/java/org/apache/tuscany/service/discovery/jxta/JxtaDiscoveryService.java?view=diff&rev=499310&r1=499309&r2=499310
==============================================================================
--- incubator/tuscany/java/sca/services/discovery/jxta/src/main/java/org/apache/tuscany/service/discovery/jxta/JxtaDiscoveryService.java (original)
+++ incubator/tuscany/java/sca/services/discovery/jxta/src/main/java/org/apache/tuscany/service/discovery/jxta/JxtaDiscoveryService.java Wed Jan 24 00:35:09 2007
@@ -105,8 +105,7 @@
             // Configure the platform
             configure();
             
-            String domain = getRuntimeInfo().getDomain().toString();
-            createAndJoinDomainGroup(domain);
+            createAndJoinDomainGroup();
 
         } catch (PeerGroupException ex) {
             throw new JxtaException(ex);
@@ -178,10 +177,12 @@
 
     /**
      * Creates and joins the domain peer group.
-     * @return Domain peer group.
      * @throws Exception In case of unexpected JXTA exceptions.
      */
-    private void createAndJoinDomainGroup(String domain) throws Exception {
+    private void createAndJoinDomainGroup() throws Exception {
+        
+
+        String domain = getRuntimeInfo().getDomain().toString();
         
         PeerGroup netGroup = new NetPeerGroupFactory().getInterface();
             



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org