Konstantin Kolinko wrote: > 2009/11/19 Mark Thomas <ma...@apache.org>: >> Konstantin Kolinko wrote: >>> twice the same condition >> Thanks - I'll fix that. >> > > OK, seen that. > > On second thought: > it is strange to synchronize on "this" to set a static field. That should be > synchronized(getClass())
Fair point, although I doubt this code is ever actually called in Tomcat... Fixed. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org