tmf: Fix most Number unboxing problems
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / statistics / TmfStatisticsTest.java
index 383537143ffcb21994ffb3024c88d813ad9e667f..86031f7bb8000bedb46f79ccd05c70e539f1b3bc 100644 (file)
@@ -101,7 +101,7 @@ public abstract class TmfStatisticsTest {
 
         /* Check the total number of events */
         long count = 0;
-        for (Long val : results) {
+        for (long val : results) {
             count += val;
         }
         assertEquals(totalNbEvents, count);
@@ -356,7 +356,7 @@ public abstract class TmfStatisticsTest {
 
     private static long sumOfEvents(Map<String, Long> map) {
         long count = 0;
-        for (Long val : map.values()) {
+        for (long val : map.values()) {
             count += val;
         }
         return count;
This page took 0.025692 seconds and 5 git commands to generate.