tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: svn commit: r882008 - /tomcat/trunk/java/org/apache/naming/java/javaURLContextFactory.java
Date Thu, 19 Nov 2009 00:13:28 GMT
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

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


Mime
View raw message