[jboss-cvs] JBossCache/src/org/jboss/cache ...
Bela Ban
bela.ban at jboss.com
Tue Nov 7 10:05:41 EST 2006
User: bela
Date: 06/11/07 10:05:41
Modified: src/org/jboss/cache Tag: Branch_JBossCache_1_4_0
TreeCache.java
Log:
ns
Revision Changes Path
No revision
No revision
1.195.2.18 +2 -2 JBossCache/src/org/jboss/cache/TreeCache.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TreeCache.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCache.java,v
retrieving revision 1.195.2.17
retrieving revision 1.195.2.18
diff -u -b -r1.195.2.17 -r1.195.2.18
--- TreeCache.java 6 Nov 2006 21:12:47 -0000 1.195.2.17
+++ TreeCache.java 7 Nov 2006 15:05:41 -0000 1.195.2.18
@@ -99,7 +99,7 @@
* @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
* @author Brian Stansberry
* @author Daniel Huang (dhuang at jboss.org)
- * @version $Id: TreeCache.java,v 1.195.2.17 2006/11/06 21:12:47 bstansberry Exp $
+ * @version $Id: TreeCache.java,v 1.195.2.18 2006/11/07 15:05:41 bela Exp $
* <p/>
* @see <a href="http://labs.jboss.com/portal/jbosscache/docs">JBossCache doc</a>
*/
@@ -5385,7 +5385,7 @@
}
// Now that we have a view, figure out if we are the coordinator
- coordinator = (members.size() == 0 ? false : members.get(0).equals(getLocalAddress()));
+ coordinator = (members.size() != 0 && members.get(0).equals(getLocalAddress()));
// now notify listeners - *after* updating the coordinator. - JBCACHE-662
if (needNotification) notifyViewChange(new_view);
More information about the jboss-cvs-commits
mailing list