[jboss-cvs] JBossAS SVN: r57899 - trunk/cluster/src/main/org/jboss/ha/framework/server
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Oct 27 11:24:59 EDT 2006
Author: jerrygauth
Date: 2006-10-27 11:24:58 -0400 (Fri, 27 Oct 2006)
New Revision: 57899
Modified:
trunk/cluster/src/main/org/jboss/ha/framework/server/DistributedStateImpl.java
Log:
JBAS-3793, DistributedState.getAllKeys() fix
Modified: trunk/cluster/src/main/org/jboss/ha/framework/server/DistributedStateImpl.java
===================================================================
--- trunk/cluster/src/main/org/jboss/ha/framework/server/DistributedStateImpl.java 2006-10-27 14:39:53 UTC (rev 57898)
+++ trunk/cluster/src/main/org/jboss/ha/framework/server/DistributedStateImpl.java 2006-10-27 15:24:58 UTC (rev 57899)
@@ -319,9 +319,9 @@
public Collection getAllKeys(String category) {
try {
Node nodeCategory = getCategory(category);
- if (nodeCategory==null || nodeCategory.getChildren() == null)
+ if (nodeCategory==null || nodeCategory.getDataKeys() == null)
return null;
- return Collections.unmodifiableCollection(nodeCategory.getChildren().keySet());
+ return Collections.unmodifiableCollection(nodeCategory.getDataKeys());
} catch (CacheException ce) {
return null;
}
More information about the jboss-cvs-commits
mailing list