On Fri, 2008-05-02 at 22:58 +0100, sebb wrote:
> Any thoughts on adding concurrency annotations to the code that now
> requires Java 1.5+?
> 
> Might be useful to add the following where appropriate:
> 
> @Immutable
> @ThreadSafe
> @NotThreadSafe
> @GuardedBy
> 
> These are useful as developer intentions and documentation, and can
> sometimes help reveal bugs e.g. with Findbugs.
> 

+1

Oleg


> ---------------------------------------------------------------------
> 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