hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r630414 - /httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java
Date Sat, 23 Feb 2008 08:59:20 GMT
Author: rolandw
Date: Sat Feb 23 00:59:18 2008
New Revision: 630414

URL: http://svn.apache.org/viewvc?rev=630414&view=rev
Log:
missing volatile declarations

Modified:
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java?rev=630414&r1=630413&r2=630414&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java
Sat Feb 23 00:59:18 2008
@@ -99,10 +99,10 @@
     public HttpParams serverParams;
 
     /** The server socket, while being served. */
-    protected ServerSocket servicedSocket;
+    protected volatile ServerSocket servicedSocket;
 
     /** The request listening thread, while listening. */
-    protected Thread listenerThread;
+    protected volatile Thread listenerThread;
 
 
     /**



Mime
View raw message