WTUtils: fix warning about raw generic

This commit is contained in:
Sean Gilligan 2023-09-07 15:58:18 -07:00 committed by Andreas Schildbach
parent 110da96911
commit 9e9d3afd6a

View file

@ -66,7 +66,7 @@ public class WTUtils {
}
}
public static boolean didThrow(UncheckedRun run) {
public static boolean didThrow(UncheckedRun<?> run) {
try {
run.run();
return false;