geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akulshresh...@apache.org
Subject svn commit: r603737 - /geronimo/sandbox/monitoring/mrc-server/mrc-ejb/src/main/java/org/apache/geronimo/monitor/MasterRemoteControl.java
Date Wed, 12 Dec 2007 20:52:18 GMT
Author: akulshreshtha
Date: Wed Dec 12 12:52:17 2007
New Revision: 603737

URL: http://svn.apache.org/viewvc?rev=603737&view=rev
Log:
GERONIMO-3697 Missed a fix for TimeStatistics
              

Modified:
    geronimo/sandbox/monitoring/mrc-server/mrc-ejb/src/main/java/org/apache/geronimo/monitor/MasterRemoteControl.java

Modified: geronimo/sandbox/monitoring/mrc-server/mrc-ejb/src/main/java/org/apache/geronimo/monitor/MasterRemoteControl.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/monitoring/mrc-server/mrc-ejb/src/main/java/org/apache/geronimo/monitor/MasterRemoteControl.java?rev=603737&r1=603736&r2=603737&view=diff
==============================================================================
--- geronimo/sandbox/monitoring/mrc-server/mrc-ejb/src/main/java/org/apache/geronimo/monitor/MasterRemoteControl.java
(original)
+++ geronimo/sandbox/monitoring/mrc-server/mrc-ejb/src/main/java/org/apache/geronimo/monitor/MasterRemoteControl.java
Wed Dec 12 12:52:17 2007
@@ -169,11 +169,11 @@
                 Long current = new Long(((CountStatistic)aStat).getCount());
                 statsMap.put(stts[i].getName(), current);
             } else if(aStat instanceof TimeStatistic) {
-                Long current = new Long(((TimeStatistic)aStat).getCount());
+                Long count = new Long(((TimeStatistic)aStat).getCount());
                 Long max = new Long(((TimeStatistic)aStat).getMaxTime());
                 Long min = new Long(((TimeStatistic)aStat).getMinTime());
                 Long total = new Long(((TimeStatistic)aStat).getTotalTime());
-                statsMap.put(stts[i].getName() + " CurrentTime", current);
+                statsMap.put(stts[i].getName() + " Count", count);
                 statsMap.put(stts[i].getName() + " MaxTime", max);
                 statsMap.put(stts[i].getName() + " MinTime", min);
                 statsMap.put(stts[i].getName() + " TotalTime", total);



Mime
View raw message