Please un-deprecate WebApplication.mount
----------------------------------------

                 Key: WICKET-3299
                 URL: https://issues.apache.org/jira/browse/WICKET-3299
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.5-M3
            Reporter: Willis Blackburn


WebApplication.mount is deprecated with the comment:

         * @deprecated this is the same as {...@code 
getRootRequestMapperAsCompound().add(mapper)}

Sure it's the same but mount(mapper) is much clearer.  And 
WebApplication.mountPage is the same as:

                getRootRequestMapperAsCompound().add(new MountedMapper(path, 
pageClass));

but it's not deprecated.  Wicket is full of shortcut functions (for example 
Component.setResponsePage is the same as 
getRequestCycle().setResponsePage(page));  why get rid of this one?


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

Reply via email to