tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: svn commit: r882008 - /tomcat/trunk/java/org/apache/naming/java/javaURLContextFactory.java
Date Thu, 19 Nov 2009 00:19:39 GMT
Konstantin Kolinko wrote:
> 2009/11/19  <markt@apache.org>:
>> Author: markt
>> Date: Wed Nov 18 23:54:24 2009
>> New Revision: 882008
>>
>> +        // If the thread is not bound, return a shared writable context
>> +        if (initialContext == null) {
>> +            if (initialContext == null) {
>> +                synchronized(this) {
> 
> twice the same condition

Thanks - I'll fix that.

Mark

> 
> You meant
> 
>> +        if (initialContext == null) {
>> +            synchronized(this) {
>> +                if (initialContext == null) {
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message