Fix for Dewdrop Spy

This commit is contained in:
TRT
2021-10-19 16:55:40 +02:00
parent 016001fba2
commit 0762d0877a
2 changed files with 16 additions and 15 deletions

View File

@@ -41,7 +41,6 @@ public class Aggregates {
return max;
}
public static final <T> T itemWithMax(final Iterable<T> source, final Function<T, Integer> valueAccessor) {
if (source == null) { return null; }
int max = Integer.MIN_VALUE;
@@ -188,7 +187,6 @@ public class Aggregates {
return result;
}
public static <TItem, TField> TItem firstFieldEquals(List<TItem> source, Function<TItem, TField> valueAccessor, TField valueEquals) {
if (source == null) { return null; }