upgrade Try.java

dev
ehlxr 2021-02-04 15:41:54 +08:00
parent f8cd382ba9
commit 5f6bcdaf02
1 changed files with 1 additions and 1 deletions

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));
}
});
}