You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Bert <ta...@gmail.com> on 2012/04/26 13:17:29 UTC
discrepancy between JavaDoc and code in MarkupContainer#visitChildren()
Hi list,
the JavaDoc for MarkupContainer#visitChildren() states that
"@param clazz The class of child to visit, or null to visit all children"
The parameter clazz is used to create a new ClassVisitFilter which in
its visitObject() does not check for clazz == null, leading to a NPE.
regards
Bert
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: discrepancy between JavaDoc and code in MarkupContainer#visitChildren()
Posted by Bert <ta...@gmail.com>.
Hi Martin,
done. https://issues.apache.org/jira/browse/WICKET-4519
Bert
On Thu, Apr 26, 2012 at 13:18, Martin Grigorov <mg...@apache.org> wrote:
> File a ticket please.
>
> On Thu, Apr 26, 2012 at 2:17 PM, Bert <ta...@gmail.com> wrote:
>> Hi list,
>>
>> the JavaDoc for MarkupContainer#visitChildren() states that
>> "@param clazz The class of child to visit, or null to visit all children"
>>
>> The parameter clazz is used to create a new ClassVisitFilter which in
>> its visitObject() does not check for clazz == null, leading to a NPE.
>>
>> regards
>> Bert
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: discrepancy between JavaDoc and code in MarkupContainer#visitChildren()
Posted by Martin Grigorov <mg...@apache.org>.
File a ticket please.
On Thu, Apr 26, 2012 at 2:17 PM, Bert <ta...@gmail.com> wrote:
> Hi list,
>
> the JavaDoc for MarkupContainer#visitChildren() states that
> "@param clazz The class of child to visit, or null to visit all children"
>
> The parameter clazz is used to create a new ClassVisitFilter which in
> its visitObject() does not check for clazz == null, leading to a NPE.
>
> regards
> Bert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org