Details
Description
The
does tell in its javaDoc that getPage() may return null.
/** * Returns page this component belongs to. * * @return page instance or <code>null</code> */ IRequestablePage getPage();
Looking at the implementor
it does throw a WicketRuntimeException if it is null.
Looking at e.g. createRequestHandler(...) it does not check if its null either.
So are implementors allowed to return null here or is the javaDoc on the interface obsolete?