upgrade Try.java
This commit is contained in:
@@ -94,7 +94,7 @@ public interface Try {
|
|||||||
try {
|
try {
|
||||||
r.run();
|
r.run();
|
||||||
} catch (final Throwable t) {
|
} catch (final Throwable t) {
|
||||||
Optional.ofNullable(finallyThrowConsumer).ifPresent(c -> c.accept(t));
|
Optional.ofNullable(finallyThrowConsumer).ifPresent(tc -> tc.accept(t));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user