[
https://issues.apache.org/jira/browse/LANG-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory resolved LANG-1291.
--------------------------------
Resolution: Fixed
In git master, please review.
> Provide annotations to document thread safety
> ---------------------------------------------
>
> Key: LANG-1291
> URL: https://issues.apache.org/jira/browse/LANG-1291
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.concurrent.*
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Fix For: 3.6
>
>
> Since already have a package called {{org.apache.commons.lang3.concurrent}},
> I propose we place these annottaions in
> {{org.apache.commons.lang3.concurrent.annotation}}.
> The annotations are:
> - {{org.apache.commons.lang3.concurrent.annotation.GuardedBy}}
> - {{org.apache.commons.lang3.concurrent.annotation.Immutable}}
> - {{org.apache.commons.lang3.concurrent.annotation.NotThreadSafe}}
> - {{org.apache.commons.lang3.concurrent.annotation.ThreadSafe}}
> The inspiration for these annotations are:
> - JSR 305: https://jcp.org/en/jsr/detail?id=305
> - JCIP: http://jcip.net/annotations/doc/index.html
> - com.google.code.findbugs : jsr305 : 3.0.1:
> https://search.maven.org/#artifactdetails%7Ccom.google.code.findbugs%7Cjsr305%7C3.0.1%7Cjar
> The JCIP code is released under the Creative Commons Attribution License
> (http://creativecommons.org/licenses/by/2.5)
> The NOTICE file will be updated to reflect this.
> Annotation retention will be at the {{CLASS}} level which does NOT create a
> runtime dependency on Commons Lang.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)