mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 02:08:00 +00:00
Fix for Dewdrop Spy
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user