hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r161806 - jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/AbstractHttpConnection.java
Date Mon, 18 Apr 2005 22:15:40 GMT
Author: olegk
Date: Mon Apr 18 15:15:39 2005
New Revision: 161806

URL: http://svn.apache.org/viewcvs?view=rev&rev=161806
Log:
Local vars made volatile 

Modified:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/AbstractHttpConnection.java

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/AbstractHttpConnection.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/AbstractHttpConnection.java?view=diff&r1=161805&r2=161806
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/AbstractHttpConnection.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/AbstractHttpConnection.java
Mon Apr 18 15:15:39 2005
@@ -49,9 +49,9 @@
  */
 abstract class AbstractHttpConnection implements HttpConnection {
 
-    protected transient Socket socket = null;
-    protected transient HttpDataTransmitter datatransmitter = null;
-    protected transient HttpDataReceiver datareceiver = null;
+    protected volatile Socket socket = null;
+    protected volatile HttpDataTransmitter datatransmitter = null;
+    protected volatile HttpDataReceiver datareceiver = null;
     
     protected AbstractHttpConnection() {
         super();
@@ -141,7 +141,7 @@
     }
     
     // Poor man's logging
-    // These methods are to be overridden at at a higher level
+    // These methods are to be overridden at a higher level
     
     protected boolean isWirelogEnabled() {
         return false;



Mime
View raw message