// From
    protected ActionMapping getActionMapping(String url) {
        MockHttpServletRequest req = new MockHttpServletRequest();
        req.setRequestURI(url);
        return
Dispatcher.getInstance().getContainer().getInstance(ActionMapper.class).getMapping(req,
                Dispatcher.getInstance().getConfigurationManager());
    }

// To
    protected ActionMapping getActionMapping(String url) {
        MockHttpServletRequest req = new MockHttpServletRequest();
        req.setRequestURI(url);
        return getActionMapping(req);
    }
-- 
View this message in context: 
http://www.nabble.com/JUnit-Plugin%3A-Little-refactoring-tp25502119p25502119.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to