upgrade Try.java

This commit is contained in:
ehlxr 2021-02-04 15:41:54 +08:00
parent f8cd382ba9
commit 5f6bcdaf02

View File

@ -94,7 +94,7 @@ public interface Try {
try {
r.run();
} catch (final Throwable t) {
Optional.ofNullable(finallyThrowConsumer).ifPresent(c -> c.accept(t));
Optional.ofNullable(finallyThrowConsumer).ifPresent(tc -> tc.accept(t));
}
});
}