[jboss-svn-commits] JBL Code SVN: r30646 - labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/src/main/java/org/jbosson/plugins/jbossesb.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Dec 14 14:07:53 EST 2009


Author: tcunning
Date: 2009-12-14 14:07:53 -0500 (Mon, 14 Dec 2009)
New Revision: 30646

Modified:
   labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/src/main/java/org/jbosson/plugins/jbossesb/ActionComponent.java
Log:
JBESB-3040
Change the intValue values to longValue.


Modified: labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/src/main/java/org/jbosson/plugins/jbossesb/ActionComponent.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/src/main/java/org/jbosson/plugins/jbossesb/ActionComponent.java	2009-12-14 18:43:16 UTC (rev 30645)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/src/main/java/org/jbosson/plugins/jbossesb/ActionComponent.java	2009-12-14 19:07:53 UTC (rev 30646)
@@ -7,9 +7,7 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation version 2 of the License.
  *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
@@ -146,7 +144,7 @@
         		Long bytesProcessed = new Long(0);
         		if (attribute != null) {
         			bytesProcessed = (Long) attribute.refresh();
-        			counterBytesProcessed = bytesProcessed.intValue();
+        			counterBytesProcessed = bytesProcessed.longValue();
         		}
         		report.addData(new MeasurementDataNumeric(request, new Double(bytesProcessed.doubleValue())));
         	} else if (metricName.equals(BYTESFAILED_METRIC_NAME)) {
@@ -154,7 +152,7 @@
         		Long bytesFailed = new Long(0);
         		if (attribute != null) {
         			bytesFailed = (Long) attribute.refresh();
-        			counterBytesFailed += bytesFailed.intValue();
+        			counterBytesFailed += bytesFailed.longValue();
         		}
         		report.addData(new MeasurementDataNumeric(request, new Double(bytesFailed.doubleValue())));        		
         	}



More information about the jboss-svn-commits mailing list