Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8515

Allow @Inject on fields

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 9.2.0.CR1, 9.2.0.Final
    • 9.2.0.Alpha2
    • Core
    • None

    Description

      Right now we require the @Inject annotation to be used only on methods, which should only assign the parameter to a field. Annotating the fields directly would result in less code lines and lower likelihood of typos.

      The possible risk is higher startup time; running testsuite w/ and w/o this change should be sufficient to detect that.

      Attachments

        Activity

          People

            rvansa1@redhat.com Radim Vansa (Inactive)
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: