[jboss-cvs] JBossAS SVN: r87556 - branches/Branch_5_x/cluster/src/main/org/jboss/ha/timestamp.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Apr 20 04:15:00 EDT 2009
Author: bstansberry at jboss.com
Date: 2009-04-20 04:15:00 -0400 (Mon, 20 Apr 2009)
New Revision: 87556
Modified:
branches/Branch_5_x/cluster/src/main/org/jboss/ha/timestamp/TimestampDiscrepancyService.java
Log:
[JBAS-5552] Return correct type from getDiscrepancies
Modified: branches/Branch_5_x/cluster/src/main/org/jboss/ha/timestamp/TimestampDiscrepancyService.java
===================================================================
--- branches/Branch_5_x/cluster/src/main/org/jboss/ha/timestamp/TimestampDiscrepancyService.java 2009-04-20 08:12:23 UTC (rev 87555)
+++ branches/Branch_5_x/cluster/src/main/org/jboss/ha/timestamp/TimestampDiscrepancyService.java 2009-04-20 08:15:00 UTC (rev 87556)
@@ -920,14 +920,14 @@
/** Object we register with the HAPartition */
public class RpcHandler
{
- public Map<Server, TimestampDiscrepancy> getDiscrepancies()
+ public RemoteDiscrepancies getDiscrepancies()
{
Map<Server, TimestampDiscrepancy> result = null;
synchronized (discrepancies)
{
result = new HashMap<Server, TimestampDiscrepancy>(discrepancies);
}
- return result;
+ return new RemoteDiscrepancies(partition.getClusterNode(), result);
}
public TimestampResponse getLocalTimestamp()
More information about the jboss-cvs-commits
mailing list