[ 
https://issues.apache.org/jira/browse/WICKET-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090206#comment-13090206
 ] 

Andera Del Bene commented on WICKET-3988:
-----------------------------------------

+1 to make them non-static. IMHO a protected/private static method doesn't make 
much sense (maybe they perform better?).

> Make AbstractMapper.getPlaceholder and similar methods as public methods
> ------------------------------------------------------------------------
>
>                 Key: WICKET-3988
>                 URL: https://issues.apache.org/jira/browse/WICKET-3988
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5-RC6
>            Reporter: Bruno Borges
>         Attachments: patch-3988.diff
>
>
> Playing with mappers and Scala I found that because of Scala's limitation, 
> there's no way to call protected static methods even from subclasses.
> Thinking about Wicket-Scala interoperability, I think that these methods 
> could be changed to public or to non-static methods.
> There's no gain nor design reason to leave these methods as protected static, 
> IMO.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to