cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: GroupBasedProfileManager
Date Thu, 05 Jan 2006 14:48:24 GMT
Ralph Goers wrote:
> Yes, you are correct.  Too late at night. I missed the 
> synchronized(this) in the methods.  Out of curiosity (not that it makes 
> any difference), why aren't the methods just synchronized?
> 
Hmm, yes, I asked myself the same question, but got no response :( I
guess I did this because of inheritance. You can create a subclass
overwrite the method and then only synchronize the block inside the
method which really needs syncing.

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message