v2.13.2: add `@Contract(pure)` for `wrapper` methods, more user/IDE friendly
Upgrading is recommended for all users.
Change Log
Improvement
- add
@Contract(pure)
forwrapper
methods, more user/IDE
friendly:- trigger
IDE
warning if discardwrapper
result - for #349 by @HuangDayu
- trigger
Cleanup/Refactor
- refactor:
- add missing
final
modifier of class - reorder annotations
- add missing
- docs: improve javadoc of
registerThreadLocal*
methods, add note for gettingThreadLocal
instances by reflection
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.13.2/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.13.2</version>
</dependency>