← Back to team overview

mugle-dev team mailing list archive

Re: Static methods with 'synchronized'

 

> I agree with what you said. So should I take the 'synchronized' keyword
> off?


I think so. We may need it later on if we encounter problems with different
threads updating the same state, but I would have thought that different
requests would generate different instances of the objects, and so the
database transactions would handle synchronisation. In any event, we won't
need it on static methods.

References