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

Allow @Inject on fields

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 9.2.0.Final
    • 9.2.0.Final
    • Core
    • None

      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.

              rvansa1@redhat.com Radim Vansa (Inactive)
              rvansa1@redhat.com Radim Vansa (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: