You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Stefan (JIRA)" <ji...@apache.org> on 2009/09/25 15:04:16 UTC

[jira] Created: (WICKET-2490) Component$IVisitor component returns Object instead of T

Component$IVisitor component returns Object instead of T
--------------------------------------------------------

                 Key: WICKET-2490
                 URL: https://issues.apache.org/jira/browse/WICKET-2490
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.1
            Reporter: Stefan


The Component$IVisitor interface returns Object instead of T.

public Object component(T component);



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-2490) Component$IVisitor component returns Object instead of T

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-2490.
-----------------------------------

    Resolution: Invalid
      Assignee: Igor Vaynberg

T represents the type of components that should be visited, if you look T is defined as <T extends Component>. the visitor return value can be any type of object.

> Component$IVisitor component returns Object instead of T
> --------------------------------------------------------
>
>                 Key: WICKET-2490
>                 URL: https://issues.apache.org/jira/browse/WICKET-2490
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.1
>            Reporter: Stefan
>            Assignee: Igor Vaynberg
>
> The Component$IVisitor interface returns Object instead of T.
> public Object component(T component);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.