forked from google/gson
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a JSR-305 @threadsafe annotation to the Gson class
- Add an optional dependency to com.google.code.findbugs:jsr305. The optional scope is used in order to avoid introducing a new transitive dependency to the jsr305 library. This is fine because the @threadsafe annotation has only a documentary purpose and it is not retained at runtime. - Annotate the Gson class as @threadsafe Fixes Issue google#613
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters