https://issues.apache.org/jira/browse/TAP5-1926

Thanks,
 luca


----- Original Message -----
> From: "Howard Lewis Ship" <hls...@gmail.com>
> To: "Tapestry users" <users@tapestry.apache.org>
> Sent: Tuesday, 8 May, 2012 8:36:12 PM
> Subject: Re: private final DateFormat in PropertyDisplayBlocks (BUG)
> 
> Please add an issue in JIRA and this will be fixed.  Good catch.
> 
> On Tue, May 8, 2012 at 10:03 AM, Luca Menegus
> <luca.mene...@dbmsrl.com> wrote:
> > Hi,
> > in class org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
> > the DateFormat is declared as :
> >
> > private final DateFormat dateFormat =
> > DateFormat.getDateInstance(DateFormat.MEDIUM, locale);
> >
> > Which is not correct because DateFormat is not thread safe and
> > pages aren't pooled any more.
> >
> > Regards,
> > Luca
> >
> >
> > PS: I'm not prividing a patch because the fix is trivial
> 
> 
> 
> --
> Howard M. Lewis Ship
> 
> Creator of Apache Tapestry
> 
> The source for Tapestry training, mentoring and support. Contact me
> to
> learn how I can get you up and productive in Tapestry fast!
> 
> (971) 678-5210
> http://howardlewisship.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to