Fair enough, was I reading more importance into the second sentence
(useful for debugging...). I still would not rely on toString() for
anything but debugging purposes unless someone passes me an object of a
well known, final class

cheers

Thomas

> -----Original Message-----
> From: Jan Kriesten [mailto:[EMAIL PROTECTED] 
> Sent: Mittwoch, 17. Oktober 2007 12:40
> To: users@wicket.apache.org
> Subject: Re: StringResourceModel toString() changed in Beta4 
> - why??? Must use getString() now.
> 
> 
> Hi Thomas,
> 
> > Yes, but you were relying on an implementation detail which 
> was in no 
> > way promised to remain stable. You should not have done 
> that and you 
> > got properly burned.
> 
> not really. The API of StringResourceModel.toString() says:
> 
> "Override of the default method to return the resource string 
> represented by this string resource model."
> 
> So, I would say it's an unforeseeable API change!
> 
> Regards, --- Jan.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to