toString is for debug (except for the default String/Number classes and so
on)
The problem is that StirngResourceModel uses internal stuff that doesnt have
to be set at that time of the toString() call
so debug statements don't work and generate nullpointers.

johan



On 9/21/07, Jan Kriesten <[EMAIL PROTECTED]> wrote:
>
>
> hi,
>
> there seems to be a change in the current trunk to
> StringResourceModel.toString() - which before returned the localized
> String.
>
> now it returns some 'useful' information like
> StringResourceModel[key:CONTENTTYPE:date.published.description
> ,default:null,params:]
>
>
> hmm.
>
> why was that changed?
>
> regards, --- jan.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to