river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r620268 - /incubator/river/jtsk/trunk/src/net/jini/discovery/LookupDiscoveryManager.java
Date Sun, 10 Feb 2008 12:14:46 GMT
Author: marbro
Date: Sun Feb 10 04:14:45 2008
New Revision: 620268

URL: http://svn.apache.org/viewvc?rev=620268&view=rev
Log:
Fixed RIVER-285 by applying patch kindly provided by Dave Brosius.

Modified:
    incubator/river/jtsk/trunk/src/net/jini/discovery/LookupDiscoveryManager.java

Modified: incubator/river/jtsk/trunk/src/net/jini/discovery/LookupDiscoveryManager.java
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/net/jini/discovery/LookupDiscoveryManager.java?rev=620268&r1=620267&r2=620268&view=diff
==============================================================================
--- incubator/river/jtsk/trunk/src/net/jini/discovery/LookupDiscoveryManager.java (original)
+++ incubator/river/jtsk/trunk/src/net/jini/discovery/LookupDiscoveryManager.java Sun Feb
10 04:14:45 2008
@@ -419,7 +419,6 @@
             ServiceRegistrar[] proxys = (ServiceRegistrar[])e.getRegistrars();
             Map groupsMap = e.getGroups();
             HashMap discoveredGroupsMap = new HashMap(proxys.length);
-            HashMap changedGroupsMap    = new HashMap(proxys.length);
 	    for(int i=0; i<proxys.length; i++) {
                 synchronized(discoveredSet) {
                     ProxyReg reg = findReg(proxys[i]);
@@ -1146,8 +1145,6 @@
         }
         if(!removed) return; // nothing removed
 
-        String[] newGroupsToDiscover = (String[])(curGroups).toArray
-                                                (new String[curGroups.size()]);
 	lookupDisc.removeGroups(groups); //generates discards that get ignored
     }
 



Mime
View raw message