Resolve raw type warnings (#1516)

Also very small optimization to hopper counters and removal of redundant casts in `PerimeterDiagnostics`
This commit is contained in:
altrisi authored and GitHub committed 2022-07-29 13:12:09 +02:00
1 parent be3c7f267c
commit 8f7e45387e
7 files changed
+17 -17

No files matched your search

@@ -406,6 +406,6 @@ public class HopperCounter
*/
public long getTotalItems()
{
return counter.isEmpty()?0:counter.values().stream().mapToLong(Long::longValue).sum();
return counter.isEmpty()?0:counter.values().longStream().sum();
}
}