You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martijn Dashorst (JIRA)" <ji...@apache.org> on 2011/03/02 09:47:36 UTC
[jira] Reopened: (WICKET-3489)
org/apache/wicket/request/cycle/RequestCycle check context for null before
using it
[ https://issues.apache.org/jira/browse/WICKET-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Dashorst reopened WICKET-3489:
--------------------------------------
> org/apache/wicket/request/cycle/RequestCycle check context for null before using it
> -----------------------------------------------------------------------------------
>
> Key: WICKET-3489
> URL: https://issues.apache.org/jira/browse/WICKET-3489
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-core
> Affects Versions: 1.5-RC2
> Environment: all
> Reporter: Richard Emberson
> Assignee: Martijn Dashorst
> Priority: Trivial
>
> In org/apache/wicket/request/cycle/RequestCycle constructor:
> requestHandlerExecutor = new HandlerExecutor();
> activeResponse = context.getResponse();
> Args.notNull(context, "context");
> Args.notNull(context.getRequest(), "context.request");
> Args.notNull(context.getResponse(), "context.response");
> Args.notNull(context.getRequestMapper(), "context.requestMapper");
> Args.notNull(context.getExceptionMapper(), "context.exceptionMapper");
> Might want to do the not null checks first.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira