[infinispan-issues] [JBoss JIRA] (ISPN-8515) Allow @Inject on fields
Galder Zamarreño (JIRA)
issues at jboss.org
Tue Jan 16 02:31:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-8515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño resolved ISPN-8515.
------------------------------------
Fix Version/s: 9.2.0.CR1
9.2.0.Final
Resolution: Done
> Allow @Inject on fields
> -----------------------
>
> Key: ISPN-8515
> URL: https://issues.jboss.org/browse/ISPN-8515
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 9.2.0.Alpha2
> Reporter: Radim Vansa
> Assignee: Radim Vansa
> Fix For: 9.2.0.CR1, 9.2.0.Final
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list