You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2016/02/04 11:39:28 UTC
svn commit: r1728436 -
/jmeter/trunk/src/core/org/apache/jmeter/report/core/Sample.java
Author: sebb
Date: Thu Feb 4 10:39:28 2016
New Revision: 1728436
URL: http://svn.apache.org/viewvc?rev=1728436&view=rev
Log:
Explicit unboxing
Modified:
jmeter/trunk/src/core/org/apache/jmeter/report/core/Sample.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/report/core/Sample.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/core/Sample.java?rev=1728436&r1=1728435&r2=1728436&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/core/Sample.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/core/Sample.java Thu Feb 4 10:39:28 2016
@@ -137,7 +137,7 @@ public class Sample {
* @return the time stamp
*/
public long getTimestamp() {
- return getData(long.class, CSVSaveService.TIME_STAMP);
+ return getData(long.class, CSVSaveService.TIME_STAMP).longValue();
}
/**
@@ -146,7 +146,7 @@ public class Sample {
* @return the elapsed time stored in the sample
*/
public long getElapsedTime() {
- return getData(long.class, CSVSaveService.CSV_ELAPSED);
+ return getData(long.class, CSVSaveService.CSV_ELAPSED).longValue();
}
/**
@@ -232,7 +232,7 @@ public class Sample {
* @return the latency stored in the sample
*/
public long getLatency() {
- return getData(long.class, CSVSaveService.CSV_LATENCY);
+ return getData(long.class, CSVSaveService.CSV_LATENCY).longValue();
}
/**
@@ -241,7 +241,7 @@ public class Sample {
* @return the success status stored in the sample
*/
public boolean getSuccess() {
- return getData(boolean.class, CSVSaveService.SUCCESSFUL);
+ return getData(boolean.class, CSVSaveService.SUCCESSFUL).booleanValue();
}
/**
@@ -250,7 +250,7 @@ public class Sample {
* @return the number of sent bytes stored in the sample
*/
public int getSentBytes() {
- return getData(int.class, CSVSaveService.CSV_BYTES);
+ return getData(int.class, CSVSaveService.CSV_BYTES).intValue();
}
/**
@@ -259,7 +259,7 @@ public class Sample {
* @return the number of threads in the group of this sample
*/
public int getGroupThreads() {
- return getData(int.class, CSVSaveService.CSV_THREAD_COUNT1);
+ return getData(int.class, CSVSaveService.CSV_THREAD_COUNT1).intValue();
}
/**
@@ -268,7 +268,7 @@ public class Sample {
* @return the overall number of threads
*/
public int getAllThreads() {
- return getData(int.class, CSVSaveService.CSV_THREAD_COUNT2);
+ return getData(int.class, CSVSaveService.CSV_THREAD_COUNT2).intValue();
}
/**