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
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