2.40.0
svc-autorelease
released this
04 Dec 18:15
·
1970 commits
to develop
since this release
Type | Description | Link |
---|---|---|
Improvement | Error prone CatchSpecificity and ThrowSpecificity to avoid unnecessarily broad throwables.Prefer more specific catch types than Exception and Throwable. When methods are updated to throw new checked exceptions they expect callers to handle failure types explicitly. Catching broad types defeats the type system. By catching the most specific types possible we leverage existing compiler functionality to detect unreachable code. |
#1074 |
Improvement | For repos that opted into palantir-java-format, the arguments of SafeArg.of (when it's a last argument) are no longer unexpectedly split onto the next line. |
#1075 |