You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig L Russell (JIRA)" <ji...@apache.org> on 2016/10/27 13:30:58 UTC

[jira] [Commented] (JDO-757) Add @Repeatable to all annotations which can be repeated

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

Craig L Russell commented on JDO-757:
-------------------------------------

Makes sense. Good usability improvement.
Code change. Test case. Specification change. Ship it.

> Add @Repeatable to all annotations which can be repeated
> --------------------------------------------------------
>
>                 Key: JDO-757
>                 URL: https://issues.apache.org/jira/browse/JDO-757
>             Project: JDO
>          Issue Type: Improvement
>          Components: api
>            Reporter: Andy Jefferson
>             Fix For: JDO 3.2
>
>
> Since JDO 3.2 is for a minimum of Java 8, we can make annotations more usable by adding @Repeatable so that instead of 
> @Extensions({@Extension(vendorName="datanucleus",key="option1",value="val"),@Extension(vendorName="datanucleus",key="option2",value="val")})
> the user can specify
> @Extension(vendorName="datanucleus", key="option1", value="val")
> @Extension(vendorName="datanucleus", key="option2", value="val")
> This should be done to all annotations that have an associated plural with "value" attribute



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)