[webbeans-issues] [JBoss JIRA] Commented: (WBRI-186) generic type member injection

Takeshi Kondo (JIRA) jira-events at lists.jboss.org
Mon Mar 16 16:08:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/WBRI-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457542#action_12457542 ] 

Takeshi Kondo commented on WBRI-186:
------------------------------------

>you can do less cosmetic changes in a patch (whitespace etc.) 
Sorry,it is unintentional changes. 
It is caused by eclipse formatter.I apply eclipse-code-formatter-profile.xml to my eclipse. 
What should I set up more?

>please make comments for big patches (like why you changed method names...) 
all right. from now, I'll send patches with comment.

> generic type member injection
> -----------------------------
>
>                 Key: WBRI-186
>                 URL: https://jira.jboss.org/jira/browse/WBRI-186
>             Project: Web Beans
>          Issue Type: Bug
>          Components: Simple Beans
>    Affects Versions: 1.0.0.BETA1
>            Reporter: Takeshi Kondo
>            Assignee: Pete Muir
>             Fix For: 1.0.0.PREVIEW
>
>         Attachments: parameterized_member_injection.patch, test_code.patch
>
>
> public class ParameterizedListInjection
> {
>    @Current
>    private List<String> fieldInjection;
> -------
> this generic type field injection, 
> I supposed that injected instance is "manager.getInstanceByType(new TypeLiteral<List<String>>(){});",
> but actual injected instanec is "manager.getInstanceByType(List.class);"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list