commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-1098) Add annotations to mark certain characteristics of classes
Date Wed, 12 Feb 2014 22:54:22 GMT

    [ https://issues.apache.org/jira/browse/MATH-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13899717#comment-13899717
] 

Sebb commented on MATH-1098:
----------------------------

Some of the annotations may be useful in the jar, e.g. for use with Findbugs or other tools.

I think RetentionPolicy.CLASS is better.

Not sure there is any need to be worried about increasing the jar file size.

> Add annotations to mark certain characteristics of classes
> ----------------------------------------------------------
>
>                 Key: MATH-1098
>                 URL: https://issues.apache.org/jira/browse/MATH-1098
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Thomas Neidhart
>         Attachments: annotations.tar
>
>
> I strongly believe that this would be a very useful addition to Commons Math in particular
and to Commons libraries in general.
> There exists the jcip annotations which comprise of the following:
>  * GuardedBy
>  * Immutable
>  * ThreadSafe
>  * NotThreadSafe
> As we will certainly not add a dependency to another library, we could start with our
own set of annotations:
>  * Immutable - well quite obvious
>  * Internal - internal classes for which we do not make a guarantee wrt backwards compatibility
> The attached archive contains these two annotations.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message