Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-757

Add @Repeatable to all annotations which can be repeated

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • JDO 3.2
    • api
    • None

    Description

      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

      Attachments

        1. jdo-757-test.patch
          5 kB
          Andy Jefferson

        Activity

          People

            andyj Andy Jefferson
            andyj Andy Jefferson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: